fancy_stream 1.0.1+2
fancy_stream: ^1.0.1+2 copied to clipboard
A sophisticated way to use streams, make it even easier to use, highly recommended for use in Bloc Pattern, as it contains functions for easy use of stream / sink dispatch / listen to work with stream [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add fancy_streamThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
fancy_stream: ^1.0.1+2Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:fancy_stream/fancy_stream.dart';