记录一下,防止有需要的时候才去慢慢找
不定时更新
贴出来的版本并不一定是最新版本,想要获取最新版本,只能去对应的链接获取
谷歌地图
google_maps_flutter: ^0.5.21+15
https://pub.flutter-io.cn/packages/google_maps_flutter
图片缓存
cached_network_image: ^2.0.0
https://pub.flutter-io.cn/packages/cached_network_image
图片透明占位符
transparent_image: ^1.0.0
https://pub.flutter-io.cn/packages/transparent_image
网络请求
http
http: ^0.12.0+4
https://pub.flutter-io.cn/packages/http
dio
dio: ^3.0.8
https://pub.dev/packages/dio
webscoket
web_socket_channel: ^1.1.0
https://pub.flutter-io.cn/packages/web_socket_channel
shared_perfence
shared_preferences: ^0.5.6
https://pub.flutter-io.cn/packages/shared_preferences
文件读写
path_provider: ^1.5.1
https://pub.flutter-io.cn/packages/path_provider
SQLite
sqflite: ^1.2.0
https://pub.flutter-io.cn/packages/sqflite
自动生成model
这里需要:json_model,build_runner,json_serializable 三件套,具体看下面这个文档
https://github.com/flutterchina/json_model/blob/master/README-ZH.md
provider(类似安卓的LiveData)
provider: ^4.0.2
https://pub.dev/packages/provider
广告轮播
flutter_swiper: ^1.1.6
https://pub.dev/packages/flutter_swiper
toast
fluttertoast: ^3.1.3
https://pub.dev/packages/fluttertoast