-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpubspec.yaml
163 lines (150 loc) · 6.38 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
name: pollution_source
description: A new Flutter application.
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.3.4+35
environment:
sdk: ">=2.8.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# cupertino_icons: ^0.1.2
# 多语言支持
flutter_localizations:
sdk: flutter
flutter_cupertino_localizations: ^1.0.1
# 格式化json https://github.com/dart-lang/json_serializable
json_annotation: ^3.1.1
# 下拉刷新上拉加载库 https://github.com/xuelongqy/flutter_easyrefresh
flutter_easyrefresh: ^2.1.1
# 扩展嵌套滚动视图 https://github.com/fluttercandies/extended_nested_scroll_view
extended_nested_scroll_view: ^0.4.0
# Google 图表库 https://github.com/google/charts
charts_flutter: ^0.8.1
# 图表库 https://github.com/imaNNeoFighT/fl_chart
fl_chart: ^0.9.4
# 常用加载动画库 https://github.com/jogboms/flutter_spinkit
flutter_spinkit: ^4.1.2
# 动画库 https://github.com/2d-inc/Flare-Flutter
flare_flutter: ^1.8.3
# 网络请求库 https://github.com/flutterchina/dio
dio: ^3.0.9
# 矢量图控件 https://github.com/dnfield/flutter_svg
flutter_svg: ^0.18.0
# 启动URL的插件 https://github.com/flutter/plugins/tree/master/packages/url_launcher
url_launcher: ^5.4.5
# 城市选择控件 https://github.com/hanxu317317/city_pickers
city_pickers: ^0.1.30
# 业务逻辑与界面分离 https://github.com/felangel/bloc
bloc: ^4.0.0
flutter_bloc: ^4.0.0
# 简化实例比较 https://github.com/felangel/equatable
equatable: ^1.1.1
# 此包定义了可由dart sdk附带的工具使用的注释 https://pub.dev/packages/meta
meta: ^1.1.8
# 处理键盘事件 https://github.com/diegoveloper/flutter_keyboard_actions
# keyboard_actions: ^2.1.2
# Flutter 常用工具类库 https://github.com/Sky24n/flustars
flustars: 0.3.2
# Toast插件 https://github.com/OpenFlutter/flutter_oktoast
oktoast: ^2.3.2
# 选择时间插件 https://github.com/dylanwuzh/flutter-cupertino-date-picker
flutter_cupertino_date_picker:
git:
url: https://github.com/SargerasWang/flutter-cupertino-date-picker
ref: master
# 下拉筛选菜单 https://github.com/GanZhiXiong/gzx_dropdown_menu
gzx_dropdown_menu: ^2.0.0
# 图片选择器 https://github.com/Sh1d0w/multi_image_picker
multi_image_picker: ^4.6.7
# 获取系统文件路径 https://github.com/flutter/plugins/tree/master/packages/path_provider
path_provider: ^1.6.7
# 打开文件 https://github.com/crazecoder/open_file
open_file: ^3.0.1
# 进度条dialog https://github.com/fayaz07/progress_dialog
progress_dialog: ^1.2.2
# 路由管理 https://github.com/theyakka/fluro
fluro: ^1.6.3
# 跨平台路径操作库 https://github.com/dart-lang/path
path: ^1.6.4
# 权限申请 https://github.com/Baseflow/flutter-permission-handler
# permission_handler: '^4.2.0+hotfix.3'
# 自动变更文本大小控件 https://github.com/leisim/auto_size_text
auto_size_text: ^2.1.0
# 获取应用版本信息 https://github.com/flutter/plugins/tree/master/packages/package_info
package_info: ^0.4.0+3
# 分享功能 https://github.com/flutter/plugins/tree/master/packages/share
share: ^0.6.4+1
# 极光推送插件 https://github.com/jpush/jpush-flutter-plugin
# jpush_flutter: ^0.5.3
jpush_flutter: ^0.6.1
# 二维码扫描插件 https://github.com/mintware-de/flutter_barcode_reader
# barcode_scan: ^3.0.0
# 百度地图定位依赖
flutter_bmflocation: ^1.0.3
# 百度地图基础地图依赖
flutter_bmfmap: ^1.0.2
# 百度地图计算工具依赖
# flutter_bmfutils: ^1.0.2
# 生成二维码 https://github.com/theyakka/qr.flutter
qr_flutter: ^3.2.0
# 跑马灯 https://github.com/baoolong/MarqueeWidget
# marquee_flutter: ^0.1.4
# AES加密
encrypt: ^4.0.0
dev_dependencies:
flutter_test:
sdk: flutter
# 一次性生成 flutter packages pub run build_runner build
# flutter packages pub run build_runner clean
# flutter packages pub run build_runner build --delete-conflicting-outputs
# 持续性生成 flutter packages pub run build_runner watch
build_runner: ^1.10.11
# 格式化json https://github.com/dart-lang/json_serializable
json_serializable: ^3.5.1
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
assets:
- assets/flare/
- assets/images/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages