Compose event status tracking into your BLoC state — track loading, success, failure (or any custom status) per event type without modifying your main state logic.
This repository is a monorepo containing the following packages:
| Package | Description | pub.dev |
|---|---|---|
| bloc_event_status | Core library — EventStatuses, EventStatusesMixin, and the @blocEventStatus annotation. |
|
| bloc_event_status_generator | Code generator that produces Emitter extensions from @blocEventStatus-annotated Blocs. |
# Core library
dart pub add bloc_event_status
# Optional: code generator for emitter extensions
dart pub add --dev bloc_event_status_generator build_runnerSee the bloc_event_status README for full documentation and usage examples.
We welcome contributions! Please open an issue, submit a pull request or open a discussion on GitHub.
This project is licensed under the MIT License.