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 'sftp.dart';
|
||||
// ignore_for_file: type=lint, type=warning
|
||||
|
||||
@ProviderFor(SftpNotifier)
|
||||
const sftpProvider = SftpNotifierProvider._();
|
||||
final sftpProvider = SftpNotifierProvider._();
|
||||
|
||||
final class SftpNotifierProvider
|
||||
extends $NotifierProvider<SftpNotifier, SftpState> {
|
||||
const SftpNotifierProvider._()
|
||||
SftpNotifierProvider._()
|
||||
: super(
|
||||
from: null,
|
||||
argument: null,
|
||||
@@ -48,7 +48,6 @@ abstract class _$SftpNotifier extends $Notifier<SftpState> {
|
||||
@$mustCallSuper
|
||||
@override
|
||||
void runBuild() {
|
||||
final created = build();
|
||||
final ref = this.ref as $Ref<SftpState, SftpState>;
|
||||
final element =
|
||||
ref.element
|
||||
@@ -58,6 +57,6 @@ abstract class _$SftpNotifier extends $Notifier<SftpState> {
|
||||
Object?,
|
||||
Object?
|
||||
>;
|
||||
element.handleValue(ref, created);
|
||||
element.handleCreate(ref, build);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user