Flutter-常用第三方库

  1. 格式化日期时间组件:https://pub.dev/packages/date_format
  2. 日期选择组件:https://pub.dev/packages/flutter_cupertino_date_picker
  3. 轮播图组件:https://pub.dev/packages/flutter_swiper
    新版本中时使用:https://pub.dev/packages/flutter_swiper_null_safety
  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
    https://pub.dev/packages/webview_flutter
  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
    • 获取版本信息:https://pub.dev/packages/package_info
    • 获取文件存储路径:https://pub.dev/packages/path_provider
    • 下载文件:https://pub.dev/packages/flutter_downloader
    • 打开文件:https://pub.dev/packages/open_file
  15. Flutter url_launcher 模块:https://pub.dev/packages/url_launcher (Flutter url_launcher 模块可以让我们实现打开外部浏览器、打开外部应用、发送短信、拨打
    电话等功能。)
  16. 支付:
    • 支付宝:https://pub.dev/packages/sy_flutter_alipay
    • 微信:https://pub.dev/packages/sy_flutter_wechat
  17. 不同终端屏幕适配:https://pub.dev/packages/flutter_screenutil
  18. 状态管理:
    • https://pub.dev/packages/provider ( Flutter 团队推出)
    • https://pub.dev/packages/event_bus (主要是实现不同组件之间的数据传值,以及在一个组件中 执行另一个组件的方法。事件广播 事件监听)
  19. 下拉刷新-上拉加载:https://pub.dev/packages/pull_to_refresh
    21.自动生成模型类: https://autocode.icu/jsontodart (推荐)
    https://javiercbk.github.io/json_to_dart/

你可能感兴趣的:(Flutter-常用第三方库)