总结表格
优化方向 推荐做法
Widget 构建 const、拆分组件、RepaintBoundary、避免嵌套
列表性能 使用 ListView.builder、keepAlive
图片优化 缓存、压缩、WebP、占位图
状态管理 避免全局 setState,用 Provider/Riverpod
异步任务 用 compute、Isolate,避免主线程阻塞
工具分析 DevTools、Performance Overlay、Widget Inspector
网络优化 缓存、分页、Gzip、压缩响应
减小包体积 删除未用资源、依赖优化、APK 分包
YLUI
https://github.com/hojin-go/ylui
GSY Flutter Demo
https://github.com/CarGuo/gsy_flutter_demo
tdesign
https://github.com/Tencent/tdesign-flutter
Best-UI
https://github.com/mitesh77/Best-Flutter-UI-Templates
GetWidget
https://github.com/ionicfirebaseapp/getwidget
Bruno
https://github.com/LianjiaTech/bruno
https://www.jianshu.com/p/a4ef81e7c0db
Provider、Bloc、GetX的使用区别和原理
https://github.com/xdd666t/flutter_use/tree/master
https://github.com/openimsdk/openim-flutter-demo
static const _host = "chat.ssbx.site";
https://github.com/lupyuen/pinetime-companion
https://github.com/violet000/tj_tms_mobile
https://github.com/TOM88812/xiaozhi-android-client 小智ai
https://github.com/iotjin/jh_flutter_demo weixin常用组件