chore: Update dependencies and remove unused plugins (#1086)
- Update Riverpod-related dependencies to the latest versions - Remove the app_links and gtk plugins - Update the reference path for hive_ce - Adjust the provider implementation in the generated code
This commit is contained in:
@@ -10,11 +10,11 @@ part of 'container.dart';
|
||||
// ignore_for_file: type=lint, type=warning
|
||||
|
||||
@ProviderFor(ContainerNotifier)
|
||||
const containerProvider = ContainerNotifierFamily._();
|
||||
final containerProvider = ContainerNotifierFamily._();
|
||||
|
||||
final class ContainerNotifierProvider
|
||||
extends $NotifierProvider<ContainerNotifier, ContainerState> {
|
||||
const ContainerNotifierProvider._({
|
||||
ContainerNotifierProvider._({
|
||||
required ContainerNotifierFamily super.from,
|
||||
required (SSHClient?, String, String, BuildContext) super.argument,
|
||||
}) : super(
|
||||
@@ -69,7 +69,7 @@ final class ContainerNotifierFamily extends $Family
|
||||
ContainerState,
|
||||
(SSHClient?, String, String, BuildContext)
|
||||
> {
|
||||
const ContainerNotifierFamily._()
|
||||
ContainerNotifierFamily._()
|
||||
: super(
|
||||
retry: null,
|
||||
name: r'containerProvider',
|
||||
@@ -108,7 +108,6 @@ abstract class _$ContainerNotifier extends $Notifier<ContainerState> {
|
||||
@$mustCallSuper
|
||||
@override
|
||||
void runBuild() {
|
||||
final created = build(_$args.$1, _$args.$2, _$args.$3, _$args.$4);
|
||||
final ref = this.ref as $Ref<ContainerState, ContainerState>;
|
||||
final element =
|
||||
ref.element
|
||||
@@ -118,6 +117,9 @@ abstract class _$ContainerNotifier extends $Notifier<ContainerState> {
|
||||
Object?,
|
||||
Object?
|
||||
>;
|
||||
element.handleValue(ref, created);
|
||||
element.handleCreate(
|
||||
ref,
|
||||
() => build(_$args.$1, _$args.$2, _$args.$3, _$args.$4),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user