bloc_lite library

Classes

BlocController
Provides a BLoC view controller interface to a class. Provides a PublishSubject stream that can be subscribed to for updates. Also exposes a StreamSink and a Observable for more control over the output. Updates are typically triggered by calling the publishUpdate method.
BlocState
Provides a BLoC model interface to a class. Provides a PublishSubject stream that can be subscribed to for updates. Also exposes a StreamSink and an Observable for more control over the output. Updates are typically triggered by calling the publishUpdate method.
BlocStateController<S extends BlocState>
An interface that equips a BlocController with a built-in state. This state must be a class that inherits from BlocState.