widget_state_notifier 5.4.0
widget_state_notifier: ^5.4.0 copied to clipboard
It provides a flexible solution for managing the state, enabling seamless communication between different parts of the widget tree.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add widget_state_notifierThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
widget_state_notifier: ^5.4.0Alternatively, 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:widget_state_notifier/widget_state_notifier.dart';