flutter
Installation
SKILL.md
When to use this skill
Use this skill whenever the user wants to:
- 用 Flutter 开发跨平台 UI、Widget、状态管理与导航
- 配置 pubspec、主题、插件与构建
How to use this skill
- 核心:StatelessWidget/StatefulWidget、Material/Cupertino;setState、Provider/Riverpod;路由。
- 运行:flutter run、build apk/ios;热重载与调试。
- 参考:https://docs.flutter.dev/
Best Practices
- 组件拆分与 const;列表与 Key 使用。
- 状态管理一致;多端测试与性能。