flutter常用的三方库

1.flutter加载iOS的图片或者iOS加载flutter的图片

https://pub-web.flutter-io.cn/packages/ios_platform_images

2.网络请求库

https://pub-web.flutter-io.cn/packages/dio

https://pub.dev/packages/http

默认的是 HttpClient

3.json转对象

https://pub.dev/packages/json_serializable

需要搭配 注解库

https://pub.dev/packages/json_annotation

4.加载Lottie图片,.json格式动图 Image默认可加载.gif动图

https://pub.dev/packages/lottie

加载Flare图片,.flr格式动图

https://pub.dev/packages/flare_flutter

加载svg图片

https://pub.dev/packages/flutter_svg

 

5.本地存储类似iOS  NSUserDefaults

https://pub.dev/packages/shared_preferences

6.显示网页

//https://pub.dev/packages/flutter_webview_plugin 不可拦截url 没人维护已遗弃

https://pub.dev/packages/webview_flutter 可拦截url

7.检测是否联网

https://pub.dev/packages/connectivity_plus

8.拨打电话、跳外部浏览器、发邮件

https://pub.dev/packages/url_launcher

9.屏幕适配

https://pub.dev/packages/flutter_screenutil

10.相册选择器 拍照 预览图片等

https://pub.dev/packages/image_picker

仿微信的照片选择器

https://pub.dev/packages/wechat_assets_picker

11.轮播图 flutter_swiper 的扩展

https://pub.dev/packages/flutter_swiper_null_safety_flutter3

12.状态管理插件  替代 InheritedWidget、Provider、Singleton、IoC

https://pub.dev/packages/get_it

13.日期选择器 flutter_datetime_picker 的扩展

https://pub.dev/packages/flutter_datetime_picker_bdaya

14.视频播放器

https://pub.dev/packages/video_player

视频播放器UI控制器

https://pub.dev/packages/chewie

15.获得本地目录

https://pub.dev/packages/path_provider

16.国际化本地化 

https://pub.dev/packages/intl

17.ume UI调试工具

https://pub.dev/packages/flutter_ume

 

18.手机权限问题 获得相册、相机、通讯录、定位、麦克风等权限

https://pub.dev/packages/permission_handler

19.google字体

https://pub.dev/packages/google_fonts

20.录音和播放

https://pub.dev/packages/flutter_sound

21. 获得设备信息

https://pub.dev/packages/device_info_plus

22.安装包信息

https://pub.dev/packages/package_info_plus

23.简单的动画

https://pub.dev/packages/simple_animations

24.加载框 toast等 类似iOS的MBProgressHUD、SVProgressHUD

https://pub.dev/packages/flutter_easyloading

25.cell的左滑删除功能

https://pub.dev/packages/flutter_slidable

26.获得经纬度 定位

https://pub.dev/packages/location

27.苹果登录

https://pub.dev/packages/sign_in_with_apple

google登录

https://pub.dev/packages/google_sign_in

28.加载图片 类似iOS的SDWebImage,有缓存

https://pub.dev/packages/cached_network_image

https://pub.dev/packages/extended_image

29.友盟推送

https://pub.dev/packages/umeng_push_sdk

个推推送官网支持

 

极光推送官网支持

https://docs.jiguang.cn/jpush/client/client_plugins

 

30.设备预览功能 可以在mac、Windows上模拟几乎所有iPhone、安卓手机。只是模拟UI展示

https://pub.dev/packages/device_preview

31.键盘 点击空白处隐藏键盘 监听键盘显示和隐藏

https://pub.dev/packages/flutter_keyboard_visibility

32.google系统自带的icon 不是很实用  一般都用UI设计师给的 这库方便占位图用

https://pub.dev/packages/flutter_icons  

33.sqlite数据库 

https://pub.dev/packages/sqflite

34.统计图 柱状图 波浪线 饼图 雷达图

https://pub.dev/packages/fl_chart

https://pub.dev/packages/syncfusion_flutter_charts 这个更全更细

https://pub.dev/packages/pie_chart 只是饼图

35.画虚线

https://pub.dev/packages/flutter_dash

36.导航push的动画效果

https://pub.dev/packages/page_transition

37.AES RSA加密解密

https://pub.dev/packages/encrypt

38.展示pdf 

https://pub.dev/packages/flutter_cached_pdfview

39.带组的listview  类似iOS带section的tableview 但是组无法卡住

https://pub.dev/packages/group_list_view

40.通讯录带右侧索引的listview

https://pub.dev/packages/alphabet_list_view

 41.日历 可以显示国内中文日历

https://pub.dev/packages/table_calendar

42.五星评分视图

https://pub.dev/packages/flutter_rating_bar

43.生成二维码

https://pub.dev/packages/qr_flutter

44.扫描二维码

https://pub.dev/packages/mobile_scanner

45.滑动弹出视图 类似抖音弹出评论

https://pub.dev/packages/slide_popup_dialog_null_safety

46.键盘上面带完成UI 类似iOS IQKeyboardManager

https://pub.dev/packages/keyboard_actions

47.手写签名

https://pub.dev/packages/signature

48.带下划线的输入手机验证码样式UI

https://pub.dev/packages/otp_text_field 只是下划线

https://pub.dev/packages/pin_code_fields 下划线、方框

49.数字角标

https://pub.dev/packages/badges

50.alertview actionsheet 类似iOS的样式

https://pub.dev/packages/adaptive_dialog

51.扩大视图的点击区域

https://pub.dev/packages/expand_tap_area

52.下拉刷新上拉加载

https://pub.dev/packages/pull_to_refresh

https://pub.dev/packages/easy_refresh

53.闪屏图

https://pub.dev/packages/flutter_native_splash

 

posted @ 2023-07-21 11:20  黄增松  阅读(654)  评论(0编辑  收藏  举报