What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-07 20:13:02
route guards flutter
final routes = { '/': (BuildContext context) => FutureBuilder<AuthState>( // This is my async call to sharedPrefs future: AuthProvider.of(context).authState$.skipWhile((_) => _ == null).first, builder: (BuildContext context, Asyn... Add solution