app_state 0.6.9 app_state: ^0.6.9 copied to clipboard
A BLoC-based state management solution on top of Router API for larger apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add app_state
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
app_state: ^0.6.9
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:app_state/app_state.dart';