stream_value 0.0.6
stream_value: ^0.0.6 copied to clipboard
a simple and lightweight state management solution for Flutter that wraps `StreamController` and `StreamBuilder` to eliminate boilerplate.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add stream_valueThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
stream_value: ^0.0.6Alternatively, 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:stream_value/core/stream_value.dart';
import 'package:stream_value/core/stream_value_builder.dart';
import 'package:stream_value/main.dart';