Eventsas input and transforms them into a
- An interface for observing the behavior of Bloc and Cubit instances.
A Change represents the change from one
Stateto another. A Change consists of the currentState and nextState.
- A Cubit is a subset of Bloc which has no notion of events and relies on methods to emit new states. [...]
Occurs when an event is
mapEventToStatehas been called but before the bloc's
Statehas been updated. A Transition consists of the currentState, the event which was
added, and the nextState.