stream_d 0.2.1 copy "stream_d: ^0.2.1" to clipboard
stream_d: ^0.2.1 copied to clipboard

A custom Stream that triggers the onDone event handler even when cancel() is called from a subscription. You can also add multiple onDone listeners. StreamD is a wrapper on the default Dart Stream, bu [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add stream_d

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

dependencies:
  stream_d: ^0.2.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_d/stream_d.dart';
1
likes
140
points
29
downloads

Publisher

verified publisherwisetap.com

Weekly Downloads

A custom Stream that triggers the onDone event handler even when cancel() is called from a subscription. You can also add multiple onDone listeners. StreamD is a wrapper on the default Dart Stream, but with an additional listenD(..) method.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on stream_d