stream_watcher 0.1.2-nullsafety.1 copy "stream_watcher: ^0.1.2-nullsafety.1" to clipboard
stream_watcher: ^0.1.2-nullsafety.1 copied to clipboard

An extension for watching Dart streams, allowing a stream to be "converted" to a value by simply calling `.watch(context)`.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add stream_watcher

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  stream_watcher: ^0.1.2-nullsafety.1

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:stream_watcher/stream_watcher.dart';
1
likes
140
pub points
34%
popularity

Publisher

verified publisherdavidrarmstrong.com

An extension for watching Dart streams, allowing a stream to be "converted" to a value by simply calling `.watch(context)`.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on stream_watcher