reusable_bloc_base
library
Classes
-
BaseBloc<A, E extends BaseEvent, S extends BaseState<A, S>>
-
-
BaseEvent
-
-
BaseState<ActionType, S extends BaseState<ActionType, S>>
-
-
BaseStateListener<ActionType, BlocType extends BaseBloc<ActionType, BaseEvent, State>, State extends BaseState<ActionType, State>>
-
-
BlocStateReactor
-
-
DisposeResourceEvent
-
A event to dispose the bloc. This event will be called when the bloc is disposed.
-
InitBlocEvent
-
A event to initialize the bloc. will execute only once when the bloc is created. Subsequent calls will be ignored.
-
ReactorFactory
-
-
RefreshDataEvent
-
A event to update/refresh the state's main data. This event can be called multiple times.
-
StateReactor
-
Mixins
-
BlocContinuousHistorySnapshot<B, S>
-
This helps to keep a history of the states that the bloc has gone through. Mostly for debugging purposes.