notify_state 1.0.1 notify_state: ^1.0.1 copied to clipboard
State sharing management of business objects. Multiple statefulwidgets care about the same object, and an object property change notifies all concerned statefulwidgets to redraw
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add notify_state
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
notify_state: ^1.0.1
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:notify_state/notify_state.dart';