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 ↗