StreamState<T> extension Null safety

An extension for Stream that allows calling .watch(context) to automatically update the value in the given widget

on

Methods

watch(BuildContext context) → T?
This function automatically updates the enclosing widget when a new element is added to the stream