flow_state_controller 1.0.0
flow_state_controller: ^1.0.0 copied to clipboard
A lightweight state management solution for Flutter that handles loading, success, and failure states with stream-based reactivity.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flow_state_controller
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flow_state_controller: ^1.0.0
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:flow_state_controller/flow_state_controller.dart';