ui 開源庫

總結(jié)表格

優(yōu)化方向 推薦做法

Widget 構(gòu)建 const、拆分組件、RepaintBoundary、避免嵌套

列表性能 使用 ListView.builder、keepAlive

圖片優(yōu)化 緩存、壓縮、WebP、占位圖

狀態(tài)管理 避免全局 setState,用 Provider/Riverpod

異步任務(wù) 用 compute、Isolate,避免主線程阻塞

工具分析 DevTools、Performance Overlay、Widget Inspector

網(wǎng)絡(luò)優(yōu)化 緩存、分頁、Gzip、壓縮響應(yīng)

減小包體積 刪除未用資源、依賴優(yōu)化、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

http://www.itdecent.cn/p/a4ef81e7c0db

Provider、Bloc、GetX的使用區(qū)別和原理

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常用組件

https://github.com/simplezhli/flutter_deer

https://github.com/jacky4631/sfb

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容