We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, if actually it's not a problem as for locale switches, it's surely a problem as for changing screen size (as i use it on web). I use responsive_sizer and riverpod. return ref.watch(authProvider).when( loading: () => Container(), error: (e, s) { ref.read(errorProvider.notifier).state = e; return Text(e.toString()); }, data: (user) { return ResponsiveSizer(builder: (context, orientation, screenType) { return AppBase( title: 'App', localizationsDelegates: const [ S.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, ], locale: ref.watch(localeProvider), supportedLocales: ref.watch(supportedLocalesProvider), routerDelegate: RoutemasterDelegate(routesBuilder: (context) { return user == null ? loggedOut : loggedIn; }), routeInformationParser: const RoutemasterParser(), colorMode: AppThemeColorMode.dark, ); }); });
return ref.watch(authProvider).when( loading: () => Container(), error: (e, s) { ref.read(errorProvider.notifier).state = e; return Text(e.toString()); }, data: (user) { return ResponsiveSizer(builder: (context, orientation, screenType) { return AppBase( title: 'App', localizationsDelegates: const [ S.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, ], locale: ref.watch(localeProvider), supportedLocales: ref.watch(supportedLocalesProvider), routerDelegate: RoutemasterDelegate(routesBuilder: (context) { return user == null ? loggedOut : loggedIn; }), routeInformationParser: const RoutemasterParser(), colorMode: AppThemeColorMode.dark, ); }); });
Maybe there's any ability to save navigation state? After all, it would be not a bad idea to get user to the same page he was at last time.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, if actually it's not a problem as for locale switches, it's surely a problem as for changing screen size (as i use it on web).
I use responsive_sizer and riverpod.
return ref.watch(authProvider).when( loading: () => Container(), error: (e, s) { ref.read(errorProvider.notifier).state = e; return Text(e.toString()); }, data: (user) { return ResponsiveSizer(builder: (context, orientation, screenType) { return AppBase( title: 'App', localizationsDelegates: const [ S.delegate, GlobalMaterialLocalizations.delegate, GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, ], locale: ref.watch(localeProvider), supportedLocales: ref.watch(supportedLocalesProvider), routerDelegate: RoutemasterDelegate(routesBuilder: (context) { return user == null ? loggedOut : loggedIn; }), routeInformationParser: const RoutemasterParser(), colorMode: AppThemeColorMode.dark, ); }); });
Maybe there's any ability to save navigation state? After all, it would be not a bad idea to get user to the same page he was at last time.
The text was updated successfully, but these errors were encountered: