event_bloc_no_widgets library
This is the same as the event_bloc library except without all of the Widgets.
Use this if you want to be very strict about the separation of your business logic from you UI. Especially good if you want to keep them in separate repositories.
Classes
-
ActionQueuer<
T> - The ActionQueuer class is used to queue up actions and performed within a specific sequence, depending on the implementation.
- Bloc
- The main building block of your BLoC Layer!
-
BlocEvent<
T> - BlocEventChannel
- BlocEventChannel represents a node in a tree of event channels, mirroring the widget tree to an extent. The tree is only connected upwards (child knows its parent).
- Disposable
- Interface that implements a dispose method.
- RefreshQueuer
- The RefreshQueuer implements the command by causing calls to the queue function while action is currently in progress to cause the action to be called again after the current action is finished.
- Repository
- This is the building block of your Repository layer.
- RepositorySource
- RepositorySource holds all the the shared resources of all Repositorys
- SingleActionQueuer
- The SingleActionQueuer will run the action once and only once. Subsequent calls while action is running will wait until action is done before returning. Calls while action has ran already will be ignored.
Typedefs
-
BlocEventListener<
T> = bool Function(T) - Event Listener, return value is true if the event is to be stopped from propagating