v0.18.0
flutter_hooks_bloc
一个基于 flutter_hooks 的 flutter_bloc 重实现,具有相同的 API。
35喜欢 1080近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
`flutter_bloc` 已使用 `riverpod` 实现,而非 `provider`。
以下为英文项目原文快照,最新内容请访问 GitHub。
A collection of dart & flutter packages to work with Bloc
A reimplementation of flutter_bloc based on flutter_hooks.
Advantages:
useBloc hook function.MultiBlocBuilder behavior.Expose a BlocProvider based on Riverpod
and can be use with
flutter_riverpod or
hooks_riverpod instead of
flutter_bloc.
With this package, MultiBlocProvider is not necessary anymore.
No more FlutterError/ProviderNotFoundException on context.bloc() invocation.
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗