data_binding 0.2.3 data_binding: ^0.2.3 copied to clipboard
Library data_binding is an observable data holder class. It is lifecycle-aware, meaning it respects the lifecycle of widgets. This awareness ensures it only updates widget observers that are in an act [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add data_binding
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
data_binding: ^0.2.3
Alternatively, 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:data_binding/data_binding.dart';