- 狀態(tài)管理MobX https://developer.school/flutter-state-management-with-mobx/
- 格式化日期時(shí)間組件: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ò)請(qǐng)求(Dio):https://pub.dev/packages/dio
- 解析html數(shù)據(jù):https://pub.dev/packages/flutter_html
- 加載遠(yuǎn)程web頁(yè)面:https://pub.dev/packages/flutter_inappbrowser
- 獲取設(shè)備信息:https://pub.dev/packages/device_info
- 實(shí)現(xiàn)用高德定位:https://pub.dev/packages/amap_location
- 相機(jī)拍照 和相冊(cè)選擇:https://pub.dev/packages/image_picker
- 視頻播放:
https://pub.dev/packages/video_playe
(在 Flutter 里官方提供了一個(gè) video_player 插件可以播放視頻乔妈。但是 video_player 有一些局 限性涤躲。沒(méi)法控制底部播放進(jìn)度等)
https://pub.dev/packages/chewie (建議使用)
- 網(wǎng)絡(luò)監(jiān)測(cè):https://pub.dev/packages/chewie
- 本地存儲(chǔ):https://pub.dev/packages/shared_preferences
- 掃描二維碼條形碼:https://pub.dev/packages/barcode_scan
- 獲取版本信息:https://pub.dev/packages/package_info
獲取文件存儲(chǔ)路徑:https://pub.dev/packages/path_provider
下載文件:https://pub.dev/packages/flutter_downloader
打開(kāi)文件:https://pub.dev/packages/open_file
- Flutter url_launcher 模塊:https://pub.dev/packages/url_launcher (Flutter url_launcher 模塊可以讓我們實(shí)現(xiàn)打開(kāi)外部瀏覽器、打開(kāi)外部應(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 (主要是實(shí)現(xiàn)不同組件之間的數(shù)據(jù)傳值秒赤,以及在一個(gè)組件中 執(zhí)行另一個(gè)組件的方法。)
谷歌地圖
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ò)請(qǐng)求
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
文件讀寫(xiě)
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
自動(dòng)生成model
這里需要:json_model,build_runner,json_serializable 三件套,具體看下面這個(gè)文檔
https://github.com/flutterchina/json_model/blob/master/README-ZH.md
provider(類(lèi)似安卓的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開(kāi)源的視頻播放組件,fijkplayr 是基于 ijkplayer 封裝的 flutter 媒體播放器憎瘸,開(kāi)箱即用,無(wú)需編譯 ijkplayer
加載動(dòng)畫(huà)庫(kù)
網(wǎng)絡(luò)請(qǐng)求庫(kù),dio是一個(gè)強(qiáng)大的Dart Http請(qǐng)求庫(kù)陈瘦,支持Restful API幌甘、FormData、攔截器痊项、請(qǐng)求取消锅风、Cookie管理、文件上傳/下載鞍泉、超時(shí)皱埠、自定義適配器等...
圖片緩存框架
輪播組件,flutter最強(qiáng)大的siwiper, 多種布局方式,無(wú)限輪播咖驮,Android和IOS雙端適配.
AzListView边器,F(xiàn)lutter 城市列表,聯(lián)系人列表托修,自定義Header忘巧,索引,懸停效果睦刃。
事件總線/消息監(jiān)聽(tīng)
圖標(biāo)icon庫(kù)
lpinyin (漢字轉(zhuǎn)拼音Flutter版)
獲取App包信息插件
Flutter版的GridView網(wǎng)格布局
啟動(dòng)白屏處理框架
相冊(cè)取圖/拍照框架
Flutter上拉刷新砚嘴,下拉加載框架
參考:
https://blog.csdn.net/android_upl/article/details/104079452
http://www.reibang.com/p/a523e5f131b2