bloc_event_status
一个为您的 BLoC 事件添加状态的 Flutter 包
- 星标
- 2
- 复刻
- 0
- 最近推送(UTC)
- 2026年9月4日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
BlocEventStatus
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. |
|
| bloc_event_status_generator | Code generator that produces Emitter extensions from @blocEventStatus-annotated Blocs. |
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.
语言DartC++CMakeHTMLShellSwiftCJustKotlinObjective-C
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗