bloc library

Classes

Bloc<T>
Business Logic Component
BlocBuilder<T>
Builds Blocs. You should use this instead of constructing a Bloc directly Use addHandler to handle async events and addSyncHandler to handle synchronous events
BlocEvent
An event that can be sent to the bloc
RebuildEvent
Resend the current state to trigger a rebuild. This is the equivalent of setState
Snapshot<T>
A snapshot of the state from the stream with the ability to send events to the Bloc