- 狀態(tài)管理MobX https://developer.school/flutter-state-management-with-mobx/
- 格式化日期時間組件:https://pub.dev/packages/date_format
- 日期選擇組件:https://pub.dev/packages/flutter_cupertino_date_picker
- 輪播圖組件:https://pub.dev/packages/flutter_swiper
- showToast(彈窗提示):https://pub.dev/packages/fluttertoast
- 網(wǎng)絡(luò)請求(Dio):https://pub.dev/packages/dio
- 解析html數(shù)據(jù):https://pub.dev/packages/flutter_html
- 加載遠(yuǎn)程web頁面:https://pub.dev/packages/flutter_inappbrowser
- 獲取設(shè)備信息:https://pub.dev/packages/device_info
- 實現(xiàn)用高德定位:https://pub.dev/packages/amap_location
- 相機(jī)拍照 和相冊選擇:https://pub.dev/packages/image_picker
- 視頻播放:
https://pub.dev/packages/video_playe
(在 Flutter 里官方提供了一個 video_player 插件可以播放視頻。但是 video_player 有一些局 限性。沒法控制底部播放進(jìn)度等)
https://pub.dev/packages/chewie (建議使用)
- 網(wǎng)絡(luò)監(jiān)測:https://pub.dev/packages/chewie
- 本地存儲:https://pub.dev/packages/shared_preferences
- 掃描二維碼條形碼:https://pub.dev/packages/barcode_scan
- Flutter url_launcher 模塊:https://pub.dev/packages/url_launcher (Flutter url_launcher 模塊可以讓我們實現(xiàn)打開外部瀏覽器、打開外部應(yīng)用、發(fā)送短信、撥打電話等功能。)
- 支付:
支付寶:https://pub.dev/packages/sy_flutter_alipay
微信:https://pub.dev/packages/sy_flutter_wechat
- 不同終端屏幕適配:https://pub.dev/packages/flutter_screenutil
- 狀態(tài)管理:
https://pub.dev/packages/provider
https://pub.dev/packages/event_bus (主要是實現(xiàn)不同組件之間的數(shù)據(jù)傳值,以及在一個組件中 執(zhí)行另一個組件的方法。)
谷歌地圖
google_maps_flutter: ^0.5.21+15
https://pub.flutter-io.cn/packages/google_maps_flutter
圖片緩存
cached_network_image: ^2.0.0
https://pub.flutter-io.cn/packages/cached_network_image
圖片透明占位符
transparent_image: ^1.0.0
https://pub.flutter-io.cn/packages/transparent_image
網(wǎng)絡(luò)請求
http
http: ^0.12.0+4
https://pub.flutter-io.cn/packages/http
dio
dio: ^3.0.8
webscoket
web_socket_channel: ^1.1.0
https://pub.flutter-io.cn/packages/web_socket_channel
shared_perfence
shared_preferences: ^0.5.6
https://pub.flutter-io.cn/packages/shared_preferences
文件讀寫
path_provider: ^1.5.1
https://pub.flutter-io.cn/packages/path_provider
SQLite
sqflite: ^1.2.0
https://pub.flutter-io.cn/packages/sqflite
自動生成model
這里需要:json_model,build_runner,json_serializable 三件套,具體看下面這個文檔
https://github.com/flutterchina/json_model/blob/master/README-ZH.md
provider(類似安卓的LiveData)
provider: ^4.0.2
https://pub.dev/packages/provider
廣告輪播
flutter_swiper: ^1.1.6
https://pub.dev/packages/flutter_swiper
toast
fluttertoast: ^3.1.3
https://pub.dev/packages/fluttertoast
權(quán)限處理
錄音
聲音播放
路由管理框架
Bilibili開源的視頻播放組件,fijkplayr 是基于 ijkplayer 封裝的 flutter 媒體播放器,開箱即用,無需編譯 ijkplayer
加載動畫庫
網(wǎng)絡(luò)請求庫,dio是一個強(qiáng)大的Dart Http請求庫,支持Restful API、FormData、攔截器、請求取消、Cookie管理、文件上傳/下載、超時、自定義適配器等...
圖片緩存框架
輪播組件,flutter最強(qiáng)大的siwiper, 多種布局方式,無限輪播,Android和IOS雙端適配.
AzListView,F(xiàn)lutter 城市列表,聯(lián)系人列表,自定義Header,索引,懸停效果。
事件總線/消息監(jiān)聽
圖標(biāo)icon庫
lpinyin (漢字轉(zhuǎn)拼音Flutter版)
獲取App包信息插件
Flutter版的GridView網(wǎng)格布局
啟動白屏處理框架
相冊取圖/拍照框架
Flutter上拉刷新,下拉加載框架
參考:
https://blog.csdn.net/android_upl/article/details/104079452
http://www.itdecent.cn/p/a523e5f131b2