引用文章链接: https://www.jianshu.com/p/a523e5f131b2
1、格式化日期时间组件:https://pub.dev/packages/date_format
2、日期选择组件:https://pub.dev/packages/flutter_cupertino_date_picker
3、轮播图组件:https://pub.dev/packages/flutter_swiper
4、showToast(弹窗提示):https://pub.dev/packages/fluttertoast
5、网络请求(Dio):https://pub.dev/packages/dio
6、解析html数据:https://pub.dev/packages/flutter_html
7、加载远程web页面:https://pub.dev/packages/flutter_inappbrowser
8、获取设备信息:https://pub.dev/packages/device_info
9、实现用高德定位:https://pub.dev/packages/amap_location
10、相机拍照 和相册选择:https://pub.dev/packages/image_picker
11、视频播放:
- https://pub.dev/packages/video_playe
(在 Flutter 里官方提供了一个 video_player 插件可以播放视频。但是 video_player 有一些局 限性。没法控制底部播放进度等) - https://pub.dev/packages/chewie (建议使用)
12、网络监测:https://pub.dev/packages/chewie
13、本地存储:https://pub.dev/packages/shared_preferences
14、扫描二维码条形码:https://pub.dev/packages/barcode_scan
15、获取版本信息:https://pub.dev/packages/package_info
16、获取文件存储路径:https://pub.dev/packages/path_provider
17、下载文件:https://pub.dev/packages/flutter_downloader
18、打开文件:https://pub.dev/packages/open_file
19、Flutter url_launcher 模块:https://pub.dev/packages/url_launcher (Flutter url_launcher 模块可以让我们实现打开外部浏览器、打开外部应用、发送短信、拨打
电话等功能。)
20、支付:
21、不同终端屏幕适配:https://pub.dev/packages/flutter_screenutil
22、状态管理:
- https://pub.dev/packages/provider
- https://pub.dev/packages/event_bus (主要是实现不同组件之间的数据传值,以及在一个组件中 执行另一个组件的方法。)