notifier 1.0.2 notifier: ^1.0.2 copied to clipboard
Update any widget, from anywhere at anytime. Inspired from Broadcast Receiver in Android. Works for both iOS and Android.
Use this package as a library
Depend on it
Run this command:
$ flutter pub add notifier
This will add a line like this to your package's pubspec.yaml (and run an implicit
flutter pub get):
dependencies: notifier: ^1.0.2
Alternatively, your editor might support or
flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use: