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

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.
Repository
This is the building block of your Repository layer.
RepositorySource
RepositorySource holds all the the shared resources of all Repositorys

Properties

equality Function
final

Typedefs

BlocEventListener<T> = bool Function(T)
Event Listener, return value is true if the event is to be stopped from propagating