mu_state library

Classes

MuData<T>
MuData represents the data state of a MuEvent. It contains data of type T.
MuError<T>
MuError represents an error state of a MuEvent.
MuEvent<T>
MuEvent is a sealed class that represents the state of a MuEvent. It can be MuLoading, MuError, or MuData.
MuLoading<T>
MuLoading represents a loading state of a MuEvent.
MuMultiBuilder
Listen to a list of MuState objects and get notified on any change.

Typedefs

MuBuilder<T> = ValueListenableBuilder<T>
MuBuilder is a class that extends ValueListenableBuilder manages state and logic.
MuState<T> = ValueNotifier<T>
MuState is an alias of ValueNotifier that can be extended to manage state and logic.