SKILL

flutter-state-management

Choose and correctly use Flutter state management with current (2026) APIs - Riverpod 3 (Notifier/AsyncNotifier, mutations, Ref.mounted), BLoC/Cubit 9 (flutter_bloc), Flutter's official MVVM with ChangeNotifier + Commands, and built-ins (setState, ValueNotifier, ListenableBuilder); plus why to avoid GetX. Use this whenever the user writes or reviews a Cubit, Bloc, provider, Notifier, ViewModel or StatefulWidget, asks "BLoC or Riverpod?", handles loading/error states or one-off effects (snackbar, navigation), uses BuildContext after await, or hits rebuild/async bugs in Flutter, even if they don't say "state management".

原文 · 译文尚未补齐

适用对象:移动应用开发。自动收录 · 待核查。

在 Codex 中使用

该组合的专门教程待补充,尚未核实适配。

准备条件

  • 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。

选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。

查看原作者说明 ↗