StreamState<T> extension
An extension for Stream that allows calling .watch(context)
to
automatically update the value in the given widget
- on
-
- Stream<
T>
- Stream<
Methods
-
watch(
BuildContext context) → T? - This function automatically updates the enclosing widget when a new element is added to the stream