data_notifier 0.1.3
data_notifier: ^0.1.3 copied to clipboard
A package for managing and observing data states using `ValueNotifier` and `ValueListenable`. It provides a structured way to handle loading, loaded, and error states in your applications, with enhanc [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add data_notifierWith Flutter:
$ flutter pub add data_notifierThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
data_notifier: ^0.1.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:data_notifier/data_notifier.dart';