apn_state 1.2.9
apn_state: ^1.2.9 copied to clipboard
An Appnormal flutter package, providing state management based on Flutter Provider and Event Bus for state-to-state communication.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add apn_state
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
apn_state: ^1.2.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:apn_state/apn_state.dart';