stream_selector 0.0.2 stream_selector: ^0.0.2 copied to clipboard
A wrapper class of StreamBuilder, which provides an easy way to work with stream.
Stream Selector #
A wrapper class of StreamBuilder, which provides an easy way to work with stream.
How to use #
Use StreamSelector which is a Flutter widget, it will invokes the builder in response to signal emits from a input stream.
StreamSelector<DataType>(
stream: stream,
builder: (context, data, child) {
// return widget here based on stream emits
},
)