ui_value 1.0.1
ui_value: ^1.0.1 copied to clipboard
Simplify state management and reduce the need for multiple setState calls.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ui_valueWith Flutter:
$ flutter pub add ui_valueThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ui_value: ^1.0.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:ui_value/ui_value.dart';