flutter_stream_listener library Null safety

Classes

StreamListener<T>
A Widget which manages a Subscription to a Stream and exposes callbacks: onData, onError, and onDone.

Typedefs

StreamOnDataListener<T> = void Function(T data)
Signature for the onData callback.
StreamOnDoneListener = void Function()
Signature for the onDone callback.
StreamOnErrorListener = void Function(dynamic error, StackTrace stackTrace)
Signature for the onError callback.