Jei-sKappa/bloc_event_status
一个为您的 BLoC 事件添加状态的 Flutter 包
- Stars
- 2
- Forks
- 0
- 最近推送(UTC)
- 2026年9月4日
- 项目状态
- 未归档
语言DartC++CMakeHTMLShellSwiftCJustKotlinObjective-C
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
展开 / 收起项目 README
BlocEventStatus
BlocEventStatus CI codecov License: MIT
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.
Packages
This repository is a monorepo containing the following packages:
| Package | Description | pub.dev |
|---|---|---|
| bloc_event_status | Core library — EventStatuses, EventStatusesMixin, and the @blocEventStatus annotation. |
pub package |
| bloc_event_status_generator | Code generator that produces Emitter extensions from @blocEventStatus-annotated Blocs. |
pub package |
Quick Start
# Core library
dart pub add bloc_event_status
# Optional: code generator for emitter extensions
dart pub add --dev bloc_event_status_generator build_runner
See the bloc_event_status README for full documentation and usage examples.
Contributing
We welcome contributions! Please open an issue, submit a pull request or open a discussion on GitHub.
License
This project is licensed under the MIT License.