diff --git a/lib/android/overlay/nfc/nfc_event_notifier.dart b/lib/android/overlay/nfc/nfc_event_notifier.dart index ec2401705..e5eb9aac5 100644 --- a/lib/android/overlay/nfc/nfc_event_notifier.dart +++ b/lib/android/overlay/nfc/nfc_event_notifier.dart @@ -60,7 +60,7 @@ final nfcEventNotifierListener = Provider<_NfcEventNotifierListener>( (ref) => _NfcEventNotifierListener(ref)); class _NfcEventNotifierListener { - final ProviderRef _ref; + final Ref _ref; ProviderSubscription? listener; _NfcEventNotifierListener(this._ref); diff --git a/lib/android/state.dart b/lib/android/state.dart index 4ccc15bd3..74f38f023 100644 --- a/lib/android/state.dart +++ b/lib/android/state.dart @@ -54,7 +54,7 @@ final androidClipboardProvider = Provider( ); class _AndroidClipboard extends AppClipboard { - final ProviderRef _ref; + final Ref _ref; const _AndroidClipboard(this._ref); diff --git a/lib/android/window_state_provider.dart b/lib/android/window_state_provider.dart index 68353509d..ad8041d2e 100644 --- a/lib/android/window_state_provider.dart +++ b/lib/android/window_state_provider.dart @@ -35,7 +35,7 @@ final androidWindowStateProvider = Provider( class _WindowStateNotifier extends StateNotifier with WidgetsBindingObserver { - final StateNotifierProviderRef<_WindowStateNotifier, WindowState> _ref; + final Ref _ref; _WindowStateNotifier(this._ref) : super(WindowState(focused: true, visible: true, active: true)) { _init(); diff --git a/pubspec.lock b/pubspec.lock index 29e684aa7..21f0cc748 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -337,10 +337,10 @@ packages: dependency: "direct main" description: name: flutter_riverpod - sha256: "711d916456563f715bde1e139d7cfdca009f8264befab3ac9f8ded8b6ec26405" + sha256: "9532ee6db4a943a1ed8383072a2e3eeda041db5657cdf6d2acecf3c21ecbe7e1" url: "https://pub.dev" source: hosted - version: "2.5.3" + version: "2.6.1" flutter_test: dependency: "direct dev" description: flutter @@ -723,10 +723,10 @@ packages: dependency: transitive description: name: riverpod - sha256: c86fedfb45dd1da98ee6493dd9374325cdf494e7d523ebfb0c387eecc5f7b5c9 + sha256: "59062512288d3056b2321804332a13ffdd1bf16df70dcc8e506e411280a72959" url: "https://pub.dev" source: hosted - version: "2.5.3" + version: "2.6.1" rxdart: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 4a2bfc193..595a81bb4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -46,7 +46,7 @@ dependencies: logging: ^1.3.0 collection: ^1.19.0 shared_preferences: ^2.3.5 - flutter_riverpod: 2.5.3 + flutter_riverpod: ^2.6.1 json_annotation: ^4.9.0 freezed_annotation: ^2.4.1 window_manager: