flock 0.0.10 flock: ^0.0.10 copied to clipboard
Coordinate Flutter widgets' states with event sourcing. Redux uses actions, but the single source of truth(SSoT) in a typical Redux application is still in the state, not actions. What would happen if [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flock
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flock: ^0.0.10
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:flock/flock.dart';