stream_listenable 1.0.0 copy "stream_listenable: ^1.0.0" to clipboard
stream_listenable: ^1.0.0 copied to clipboard

Bridge Dart Streams into Flutter's Listenable/ValueListenable interfaces. Lazily subscribes and auto-cancels.

1.0.0 #

  • StreamListenable<T> — wraps a Stream as a Listenable (notifies on each emission).
  • StreamValueListenable<T> — wraps a Stream as a ValueListenable<T> with an initial value.
  • Stream.asListenable() and Stream.asValueListenable() extension methods.
  • Lazy subscription: subscribes on first listener, cancels on last removal.
  • notifyOnError / notifyOnDone options on StreamListenable.
  • notifyOnSameValue option on StreamValueListenable to skip duplicate notifications.
0
likes
160
points
8
downloads

Documentation

API reference

Publisher

verified publisherjacopoguzzo.dev

Weekly Downloads

Bridge Dart Streams into Flutter's Listenable/ValueListenable interfaces. Lazily subscribes and auto-cancels.

Repository (GitHub)
View/report issues

Topics

#stream #listenable #valuelistenable #changenotifier

License

MIT (license)

Dependencies

flutter

More

Packages that depend on stream_listenable