state_bloc library

Classes

StateBloc<T>
A class that holds a single state value accessible synchronously using StateBloc.value, as a Future using StateBloc.current or as a stream using StateBloc.stream and StateBloc.changes for a stream of the current and previous value.
StateBlocChangeStream<T>
A Stream of StateBloc value changes consisting of its current and previous value.
StateBlocStream<T>
A Stream of values emitted by the StateBloc beginning with its current value.