We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3df614 commit 8f21b58Copy full SHA for 8f21b58
src/lib/core/routing/app_router.dart
@@ -22,7 +22,7 @@ part 'app_router.g.dart';
22
final _rootNavigatorKey = GlobalKey<NavigatorState>(debugLabel: 'root');
23
final _shellNavigatorKey = GlobalKey<NavigatorState>(debugLabel: 'shell');
24
25
-@riverpod
+@Riverpod(keepAlive: true)
26
GoRouter appRouter(Ref ref) {
27
final router = GoRouter(
28
navigatorKey: _rootNavigatorKey,
src/lib/core/settings/app_settings_provider.dart
@@ -16,7 +16,7 @@ part 'app_settings_provider.freezed.dart';
16
17
enum NavigationIndicators { sticky, end }
18
19
20
class AppSettingsNotifier extends _$AppSettingsNotifier {
21
@override
AppSettings build() {
0 commit comments