Flutter三方库
网络请求
| 包名 | 简介 | 地址 |
|---|---|---|
| dio | dio 是一个强大的 HTTP 网络请求库 | https://pub.dev/packages/dio |
| pretty_dio_logger | 基于拦截器的简明易读的请求日志打印 | https://pub-web.flutter-io.cn/packages/pretty_dio_logger |
| native_dio_adapter | 使用 cupertino_http 和 cronet_http 以适配器代理实现的原生网络请求功能 | https://pub-web.flutter-io.cn/packages/native_dio_adapter |
| json_annotation | 用于生成JSON序列化与反序列化代码 | https://pub.dev/packages/json_annotation |
| retrofit | 对dio进一步封装 | https://pub.dev/packages/retrofit |
图片
| 包名 | 简介 | 地址 |
|---|---|---|
| cached_network_image | 展示并缓存网络图片 | https://pub.dev/packages/cached_network_image |
弹窗
| 包名 | 简介 | 地址 |
|---|---|---|
| flutter_smart_dialog | 展示弹窗、加载弹窗、Toast | https://pub.dev/packages/flutter_smart_dialog |
时间日期(选取日期)
| 包名 | 简介 | 地址 |
|---|---|---|
| dart_date | dart_date provides the most comprehensive, yet simple and consistent toolset for manipulating Dart dates. | https://pub.dev/packages/dart_date |
| calendar_date_picker | A lightweight and customizable calendar picker | https://pub.dev/packages/calendar_date_picker2 |
| flutter_calendar_carousel | Calendar widget for flutter that is swipeable horizontally. | https://pub.dev/packages/flutter_calendar_carousel |
下拉刷新
| 包名 | 简介 | 地址 |
|---|---|---|
| easy_refresh | EasyRefresh can easily implement pull-down refresh and pull-up load on Flutter applications. | https://pub.dev/packages/easy_refresh |
You need to set
install_url to use ShareThis. Please set it in _config.yml.