menu
flutter_guards package
documentation
flutter_guards.dart
flutter_guards.dart
dark_mode
light_mode
flutter_guards
library
Classes
AuthGuard
gets 3 builder function to load a widget on 3 states of a stream on loading, on data, or on error.
FutureGuard
<
T
>
gets 3 builder function to load a widget on the 3 states of the future on loading, on data, or on error.
LoadingGuard
<
T
>
Use this if you don't care about the state of the Future, else use FutureGuard Widget that can be set at the root of the application to change the screen on the future provide success widget is displayed when the future completes
StreamGuard
<
T
>
gets 3 builder function to load a widget on 3 states of the stream on loading, on data, or on error. (on complete is omitted)
flutter_guards package
documentation
flutter_guards.dart
flutter_guards
package
Libraries
flutter_guards
flutter_guards library