Flutter-常用第三方库
格式化日期时间组件: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 (主要是实现不同组件之间的数据传值,以及在一个组件中 执行另一个组件的方法。) 原文地址:https://www.jianshu.com/p/a523e5f131b2