mu_state library

Classes

MuBuilder<T>
MuBuilder is a specialization of ValueListenableBuilder with type MuEvent<T>.
MuEvent<T>
MuEvent is a sealed class that represents the state of a MuState. It can be MuEventLoading, MuEventError, or MuEventData.
MuEventData<T>
MuEventData represents the data state of a MuState. It contains data of type T.
MuEventError<T>
MuEventError represents an error state of a MuState.
MuEventLoading<T>
MuEventLoading represents a loading state of a MuState.
MuMultiBuilder
Listen to a list of MuState objects and get notified on any change.

Typedefs

MuState<T> = ValueNotifier<MuEvent<T>>
MuState is a generalization of ValueNotifier with the type MuEvent.