flutter 參考鏈接

本文以方便自己學(xué)習(xí)查找相關(guān)鏈接為由書寫,普遍中文外鏈.Thanks For Share.

Flutter官方網(wǎng)站
https://flutter.cn/
Flutter packages market
Flutter plugins
dart 在線編輯
flutter 拖動布局網(wǎng)頁, 在線編輯flutter widget

Flutter demo

登錄注冊: https://github.com/yechaoa/wanandroid_falutter

https://github.com/CarGuo/gsy_github_app_flutter

Flutter 狀態(tài)管理方案

flutter_bloc. http://www.itdecent.cn/p/d297ededdb9c
provider:https://github.com/rrousselGit/provider

Flutter 混合應(yīng)用路由管理
flutter_boost是插件, flutter_boots 是集成工具
flutter_boost. https://github.com/alibaba/flutter_boost/blob/master/example/lib/main.dart

Flutter http請求
http / dio dio封裝https://www.cnblogs.com/gxsyj/p/11162011.html https://blog.csdn.net/yechaoa/article/details/90234708

Flutter cookie 與dio
https://zhuanlan.zhihu.com/p/102573706
dio pub
cookie_jar 本地持久化集成

dio封裝

https://github.com/flutterchina/dio/blob/master/README-ZH.md#%E8%AF%B7%E6%B1%82%E9%85%8D%E7%BD%AE

Flutter json數(shù)據(jù)序列化
使用 dart:convert手動序列化JSON
json_annotation
https://s0pub0dev.icopy

Flutter 數(shù)據(jù)庫
graphql https://graphql.org/

Flutter 原生頁面跳轉(zhuǎn), 自定義路由
https://juejin.im/post/5c7a26faf265da2da8358eb1

Flutter調(diào)用原生組件

原生頁面部分使用flutter組件

Flutter plugins

https://github.com/flutter/plugins

Flutter pageView

Flutter (替換listview)滾動嵌套 **customScrollView **

Flutter sliver系列 http://www.itdecent.cn/p/ca79eb54a356

SliverFillRemaining(

child: Text('Foo Text'),

),
占了appBar剩下的一屏

Flutter 篩選用 SizedBox https://github.com/niyige/flutter_app

Flutter: Wrap 可以讓子控件自動換行的控件

Wrap(

 crossAxisAlignment: WrapCrossAlignment.center, // 垂直居中

Flutter 布局絕對定位 stack position : http://www.itdecent.cn/p/ce3da9f67d79

Flutter 布局 橫向縱向 column row : http://www.itdecent.cn/p/1fb2f3dcd641

Flutter dialog http://www.itdecent.cn/p/8f81c98f08dd

Flutter modal 用visibilityStack實現(xiàn)

Flutter 實現(xiàn)類似supperText, 有邊框有背景的可點擊按鈕 containerBoxDecoration https://blog.csdn.net/chenlove1/article/details/83627831

Flutter ExpansionTile 可展開收縮組件 https://blog.csdn.net/weixin_43294560/article/details/105806213

ExpansionTile

Flutter ThemeData 修改主題

Flutter button: button 種類,

button禁用 onPressed是null時禁用, 是函數(shù)時非禁用狀態(tài)

Flutter ThemeData 修改主題

Flutter book 中文使用手冊

https://book.flutterchina.club/chapter7/dailog.html

Flutter dart 數(shù)據(jù)類型

https://juejin.im/post/5c6cbd7651882523f026608c

Flutter ui&widget 庫

https://juejin.im/post/5c866affe51d450ced663666

bug:

  • 溢出bug: 要看是誰溢出了, 誰溢出了改誰
    比如,我的row包含的text太長, 顯示: Renderflex 溢出了, 是row 中文字太長, 把row撐開了, row繼承了Fex, Renderflex指 row, 所以改row, 可以改成wrap(會自動換行)

  • android flutter 混合開發(fā)項目, android 添加了abiFilter 'armv7a', x86_64架構(gòu)的設(shè)備(比如 小米pad2)崩潰閃退: Failed to setup Skia Gr context https://github.com/flutter/flutter/issues/11094 not worded for me
    如果我在host 項目增加類型 abiFilters 'armv7a','x86_64' apk體積就會變大, 而且host 項目中一些庫并沒有支持x86_64,就會構(gòu)建失敗, 提示'找不到 *.so'; 就會造成. 不知道怎么解決......

最后編輯于
?著作權(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ù)。

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