状态管理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
网络请求(Dio):https://pub.dev/packages/dio
解析html数据:https://pub.dev/packages/flutter_html
加载远程web页面:https://pub.dev/packages/flutter_inappbrowser
获取设备信息:https://pub.dev/packages/device_info
实现用高德定位:https://pub.dev/packages/amap_location
相机拍照 和相册选择:https://pub.dev/packages/image_picker
视频播放:
https://pub.dev/packages/video_playe
(在 Flutter 里官方提供了一个 video_player 插件可以播放视频。但是 video_player 有一些局 限性。没法控制底部播放进度等)
https://pub.dev/packages/chewie (建议使用)
网络监测:https://pub.dev/packages/chewie
本地存储:https://pub.dev/packages/shared_preferences
扫描二维码条形码:https://pub.dev/packages/barcode_scan
获取版本信息:https://pub.dev/packages/package_info
获取文件存储路径:https://pub.dev/packages/path_provider
下载文件:https://pub.dev/packages/flutter_downloader
打开文件:https://pub.dev/packages/open_file
Flutter url_launcher 模块:https://pub.dev/packages/url_launcher (Flutter url_launcher 模块可以让我们实现打开外部浏览器、打开外部应用、发送短信、拨打电话等功能。)
支付:
支付宝:https://pub.dev/packages/sy_flutter_alipay
微信:https://pub.dev/packages/sy_flutter_wechat
不同终端屏幕适配:https://pub.dev/packages/flutter_screenutil
状态管理:
https://pub.dev/packages/provider
https://pub.dev/packages/event_bus (主要是实现不同组件之间的数据传值,以及在一个组件中 执行另一个组件的方法。)
谷歌地图
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
网络请求
http
http: ^0.12.0+4
https://pub.flutter-io.cn/packages/http
dio
dio: ^3.0.8
https://pub.dev/packages/dio
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
权限处理
permission_handler
录音
audio_recorder
声音播放
audioplayers
路由管理框架
fluro
Bilibili开源的视频播放组件,fijkplayr 是基于 ijkplayer 封装的 flutter 媒体播放器,开箱即用,无需编译 ijkplayer
fijkplayer
加载动画库
flutter_spinkit
网络请求库,dio是一个强大的Dart Http请求库,支持Restful API、FormData、拦截器、请求取消、Cookie管理、文件上传/下载、超时、自定义适配器等…
Dio
图片缓存框架
cached_network_image
轮播组件,flutter最强大的siwiper, 多种布局方式,无限轮播,Android和IOS双端适配.
flutter_swiper
AzListView,Flutter 城市列表,联系人列表,自定义Header,索引,悬停效果。
azlistview
事件总线/消息监听
event_bus
图标icon库
cupertino_icons
lpinyin (汉字转拼音Flutter版)
lpinyin
获取App包信息插件
package_info
Flutter版的GridView网格布局
flutter_staggered_grid_view
启动白屏处理框架
flutter_splash_screen
相册取图/拍照框架
image_picker
Flutter上拉刷新,下拉加载框架
pull_to_refresh
参考:
https://blog.csdn.net/android_upl/article/details/104079452
https://www.jianshu.com/p/a523e5f131b2