gg_value 1.6.3 gg_value: ^1.6.3 copied to clipboard
GgValue allows managing a value in a dart application. It provides a stream, a flag preventing too many updates, and a custom transform and a comparison function.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add gg_value
With Flutter:
$ flutter pub add gg_value
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
gg_value: ^1.6.3
Alternatively, 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:gg_value/gg_value.dart';