LiveStreamBuilder handles building a widget in response to new states.
LiveStreamBuilder is analogous to StreamBuilder but has simplified API to
reduce the amount of boilerplate code needed as well as LiveStream-specific
performance improvements.
Please refer to LiveStreamListener if you want to "do" anything in response to
state changes such as navigation, showing a dialog, etc...
Takes a StreamWidgetListener and an optional liveStream and SyncLiveStream invokes
the listener in response to state changes in the SyncLiveStream.
It should be used for functionality that needs to occur only in response to
a state change such as navigation, showing a SnackBar, showing
a Dialog, etc...
The listener is guaranteed to only be called once for each state change
unlike the builder in LiveStreamBuilder.
ValueListenable, a widget that uses a builder callback to
rebuild whenever a ValueListenable object triggers its notifications,
providing the builder with the value of the object.
Signature for the builder function which takes the BuildContext and
state and is responsible for returning a widget which is to be rendered.
This is analogous to the builder function in StreamBuilder.
Signature for the builder function which takes the BuildContext and
state and is responsible for returning a VOID which is to be rendered.
This is analogous to the builder function in StreamBuilder.