一、Flutter 学习资料
- Flutter
- Flutter官网
- Flutter中文网
- 咸鱼技术
- 掘金Flutter专栏
Flutter - Dart中(.)、(..)、(...)语法使用_flutter ...-CSDN博客
Flutter pubspec.yaml 配置文件_flutter yaml配置git-CSDN博客
Flutter 添加 example流程_建flutter 工程 怎么自动有example-CSDN博客
Flutter基础组件-Container_flutter 组件弧度-CSDN博客
二、三方框架库
1、网络库
dio
- 网络请求
- dio: ^3.0.9
- https://pub.dev/packages/dio
- 一个强大的Dart Http请求库,支持Restful API、FormData、拦截器、请求取消、Cookie管理、文件上传/下载、超时、自定义适配器等...
http
- 网络请求
- http: ^0.12.0+2
- https://pub.dev/packages/http
connectivity
- 监听网络状态
- connectivity: ^0.4.3+6
- https://pub.dev/packages/connectivity
cookie_jar
- cookie持久化
- cookie_jar: ^1.0.0
- https://pub.dev/packages/cookie_jar
flutter_downloader
- 服务端下载
2、UI库
fluttertoast
- Toast
- fluttertoast: ^3.1.0
- https://pub.dev/packages/fluttertoast
flutter_swiper 或 carousel_slider
- (图片)轮播组件库 banner
- flutter_swiper: ^1.1.6
- https://pub.dev/packages/flutter_swiper
flutter_webview_plugin
- 加载webview网页
- flutter_webview_plugin: ^0.3.5
- https://pub.dev/packages/flutter_webview_plugin
flutter_html
- 加载富文本
- flutter_html: ^0.11.0
- https://pub.dev/packages/flutter_html
flutter_markdown
- 加载markdown
- flutter_markdown: ^0.2.0
- https://pub.dev/packages/flutter_markdown
zefyr
- 富文本编辑器
- zefyr: ^0.8.0
- https://pub.dev/packages/zefyr
badges
- 徽章
- badges: ^1.1.0
- https://pub.dev/packages/badges
fl_chart
- 图表
- fl_chart: ^0.1.5
- https://pub.dev/packages/fl_chart
city_picker 或 city_pickers
- 城市选择器
- city_picker: ^0.1.3
- https://pub.dev/packages/city_picker
azlistview
- 列表索引
- azlistview: ^0.1.2
- https://pub.dev/packages/azlistview
file_picker
- 文件选择器
- file_picker: ^1.3.8
- https://pub.dev/packages/file_picker
flutter_calendar_carousel 或 table_calendar
- 日历
- flutter_calendar_carousel: ^1.3.18
- https://pub.dev/packages/flutter_calendar_carousel
date_range_picker
- 日期区间选择器
- date_range_picker: ^1.0.6
- https://pub.dev/packages/date_range_picker
flukit
- Flutter UI组件库
- flukit: ^1.0.2
- https://pub.dev/packages/flukit
city_pickers
- Flutter 省市区选择器
flutter_datetime_picker
- 时间日期
jiffy
- 日期格式化相关
3、加载指示器库
flutter_spinkit
- 动画库-加载指示器
- flutter_spinkit: ^3.1.0
- https://pub.dev/packages/flutter_spinkit
flutter_easyloading
- 弹框加载中等待
loading_indicator 、loading_animations
- 加载指示器
adaptive_dialog、giffy_dialog
- 弹框提示
bot_toast、toast、fluttertoast、oktoast、flutter_styled_toast
- 吐司弹框提示
popover
- 提示
flutter_update_dialog
- 更新app弹框
4、数据库
sqflite
- 数据库
- sqflite: ^1.1.6
- https://pub.dev/packages/sqflite
shared_preferences
- sp本地存储
- shared_preferences: ^0.5.3+4
- https://pub.dev/packages/shared_preferences
- 简单的,异步的,持久化的key-value存储系统, 在Android上它是基于SharedPreferences的,在iOS上它是基于NSUserDefaults
5、设备库
share
- 分享
- share: ^0.6.2+1
- https://pub.dev/packages/share
camera
- 相机
- camera: ^0.5.2+2
- https://pub.dev/packages/camera
device_info 、url_launcher
- 设备信息,系统库(app相关信息、打电话、发邮件等)
- device_info: ^0.4.0+2
- https://pub.dev/packages/device_info
package_info
- 包信息
- package_info : ^0.4.0+6
- https://pub.dev/packages/package_info
path_provider
- 获取本地文件路径
- path_provider: ^1.2.0
- https://pub.dev/packages/path_provider
flutter_keyboard_visibility、keyboard_utils
- 获取键盘相关
6、工具库
rxdart
- 函数式编程
- rxdart: ^0.22.1+1
- https://pub.dev/packages/rxdart
event_bus
- 消息传递
- event_bus: ^1.1.0
- https://pub.dev/packages/event_bus
event_bus、scoped_model
- 事件传递(跨组件传递数据)
url_launcher
- 打开链接
- url_launcher: ^5.1.2
- https://pub.dev/packages/url_launcher
intl
- 国际化
- intl: ^0.15.8
- https://pub.dev/packages/intl
video_player
- 视频播放器
- video_player: ^0.10.1+6
- https://pub.dev/packages/video_player
audioplayers
- 音频播放器
- audioplayers: ^0.13.1
- https://pub.dev/packages/audioplayers
7、动画库
- flutter_spinkit
支持各种动画,可用来做加载动画等sn_progress_dialog
- 进度条
flutter_slidable
- 列表左右滑弹出按钮
sliding_up_panel、modal_bottom_sheet
- 底部弹出框
custom_navigation_bar、
convex_bottom_bar(推荐)、
curved_navigation_bar、
persistent_bottom_nav_bar、
animated_bottom_navigation、
animated_bottom_navigation_bar
- 底部弹出框
flutter_animator、flutter_staggered_animations、
animations、simple_animations、lottie
- 动画库
wave
- 波浪纹
implicitly_animated_reorderable_list
- 列表拖动
circular_menu
- 旋转菜单
draggable_scrollbar
- 自定义滚动条
flutter_slider_drawer、collapsible_sidebar
- 侧边栏
8、条形码-二维码扫描
- barcode_scan
支持iOS、android两端的条码-二维码扫描库qr_flutter
- 二维码
- qr_flutter: ^2.1.0+55
- https://pub.dev/packages/qr_flutter
qrscan
- 扫描
9、下拉加载上拉加载更多
- pull_to_refresh
很强大的一个库,可以实现多种效果,强烈建议- loadmore
ListView上拉加载更多,挺好用的flutter_easyrefresh
- 下拉刷新上拉加载
- flutter_easyrefresh: ^2.0.0
- https://pub.dev/packages/flutter_easyrefresh
liquid_pull_to_refresh
- 下拉刷新加载
infinite_scroll_pagination
- 上拉加载刷新
10、版本更新
ota_update
支持Android应用内下载,实现应用内更新功能
具体使用可参考Flutter 应用内App版本更新- url_launcher
网页打开工具,适用于iOS版本更新,可以打开应用地址,跳转AppStore更新permission_handleupgrader permission_handle app升级
11、权限
- permission_handle
权限管理,可用来检测权限是否获取等simple_permissions
- 权限相关
- simple_permissions: ^0.1.9
- https://pub.dev/packages/simple_permissions
permission_handler
- 权限管理相关
flutter_cache_manager
- 文件缓存管理
open_file
- 打开文件
12、视频封面图获取
- video_thumbnail
可以获取本地和网络视频的封面图- socket_io_client
io流- video_compress_ds
视频压缩
13、状态、路由管理
- getx
GetX 是 Flutter 上的一个轻量且强大的解决方案:高性能的状态管理、智能的依赖注入和便捷的路由管理。provide
- 状态管理
- provide: ^1.0.2
- https://pub.dev/packages/provide
provider
- 状态管理
- provider: ^3.0.0+1
- https://pub.dev/packages/provider
fluro 或 auto_route
- 页面路由
- fluro: ^1.5.1
- https://pub.dev/packages/fluro
14、图片相关
image_picker 或 multi_image_picker2、flutter_wechat_assets_picker(推荐:防wx)
- 图片选择器
- image_picker: ^0.6.1
- https://pub.dev/packages/image_picker
cached_network_image
- 图片缓存
- cached_network_image: ^1.1.1
- https://pub.dev/packages/cached_network_image
photo_view
- 图片手势, 图片预览
- photo_view: ^0.4.2
- https://pub.dev/packages/photo_view
font_awesome_flutter
- 图标库
- font_awesome_flutter: ^8.5.0
- https://pub.dev/packages/font_awesome_flutter
image_gallery_saver
- 保存图片至本机
device_preview
- 真机预览
image_cropper
- 图片裁剪
flutter_luban
- 图片压缩
15、三方SDK
fluwx
- 微信SDK相关
flutter_bmflocation
- 百度定位插件
flutter_baidu_mapapi_map
- 百度地图基础地图插件
amap_flutter_location
- 高德地图定位插件
amap_flutter_map
- 高德地图基础地图插件
16、其它
flutter_native_splash、introduction_screen、intro_slider、animated_splash
- 启动屏
flutter_screenutil
- 屏幕适配方案
badges
角标、标记
flutter_colorpicker
取拾器
pin_code_fields
验证码输入
flutter_rating_bar、smooth_star_rating
评分评价
flutter_blurhash
高斯模糊
like_button
动态按钮(点赞收藏)
flutter_app_badger
app数字角标
flutter_custom_clippers
组件裁剪
readmore
读取更多内容