nano_var 1.1.1
nano_var: ^1.1.1 copied to clipboard
A variable that can be subscribed to so the subscribers get notified when changes occur.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nano_varWith Flutter:
$ flutter pub add nano_varThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
nano_var: ^1.1.1Alternatively, 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:nano_var/nano_var.dart';