update dependencies and bump version to 0.1.7+45

- Bump version to `0.1.7+45` and update SDK constraint to `>=3.8.0 <4.0.0`.
- Update numerous dependencies
This commit is contained in:
2026-01-31 22:40:50 +01:00
parent 0525453d48
commit 7a3b69fade
60 changed files with 3432 additions and 2586 deletions

View File

@@ -5,7 +5,7 @@ import 'loading_error.dart';
part 'loadable_state.freezed.dart';
@freezed
class LoadableState<TState> with _$LoadableState {
abstract class LoadableState<TState> with _$LoadableState<TState> {
const LoadableState._();
const factory LoadableState({
@@ -14,7 +14,7 @@ class LoadableState<TState> with _$LoadableState {
required int? lastFetch,
required void Function()? reFetch,
required LoadingError? error,
}) = _LoadableState;
}) = _LoadableState<TState>;
bool _hasError() => error != null;
bool _hasData() => data != null;