-
Notifications
You must be signed in to change notification settings - Fork 73
/
pubspec.yaml
260 lines (210 loc) · 7.4 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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
name: flutter_bedrock
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.0.0+1
environment:
sdk: '>=2.12.0 <3.0.0'
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.2
flutter_localizations:
sdk: flutter
# State
provider: ^6.0.2
#FFloat: 阿里闲鱼旗下的插件系列之一
#墙裂!推荐阅读他们的系列文章,https://juejin.im/post/5ec17d6a5188256d7674b942#heading-12
# 因为官方还没升级到2.12.0, 所以用这个代替了 => lib\base_framework\ui\widget\ffloat.dart
# ffloat: ^1.0.1
# Base Component
# WebView iOS添加键值对 o.flutter.embedded_views_preview = YES
#flutter 官方插件,
#这个不会覆盖widget,但是html支持不好。
webview_flutter: ^3.0.0
# webview_flutter: ^0.3.21
#这个文档齐全(支持富文本的显示:这个插件有个bug、会覆盖其它widget(不用页面切换动画是没问题的),你用的时候更一下看看修复没有)
#此插件为flutter社区开发,非官方,但是性能比官方号(所写时的版本),如果遇到上面所提bug
#解决办法 参考这里:https://juejin.im/post/6864487800969003016
# flutter_webview_plugin: ^0.3.11
# 滴滴调试工具
# 高版本flutter不兼容
#dokit: ^0.8.0-nullsafety.0
#设备信息、包信息
#device_info: ^2.0.0 废弃
device_info_plus: ^3.2.2
#package_info: ^2.0.0 废弃
package_info_plus: ^1.4.0
# 加解密
encrypt: ^5.0.0
# Data
# json_annotation: ^2.4.0
# dio: ^2.1.16
dio: ^4.0.0
dio_cookie_manager: ^2.0.0
cookie_jar: ^3.0.0
path_provider: ^2.0.1
#应用更新
#flutter_downloader: ^1.4.4
#install_plugin: ^2.0.1
#shared_preferences: ^0.5.2+2
# 本地json对象存储
#localstorage: ^2.0.0
# Html Encoder/Decoder
#html_unescape: ^1.0.1+3
# 解析html标签
#flutter_html: ^0.11.1
#解析富文本建议使用 markdown
# markdown_widget: ^1.1.9
# 判断list是否相等
collection: ^1.15.0
# crypto: ^2.0.6
# UI
oktoast: ^3.1.5
pull_to_refresh: ^2.0.0
#swiper
#flutter_swiper: ^1.1.6
#很强大的插件,瀑布流、滑动退出、手势放大等等等等,请查看文档
#大佬的文章 https://juejin.im/post/5dee2ab36fb9a01610796a20
#https://github.com/fluttercandies/extended_image
extended_image: ^6.0.1
#https://pub.dev/packages/flutter_xupdate 漂亮的更新弹窗
#flutter_xupdate: ^0.0.3
#刮刮卡 https://github.com/826327700/flutter_plugins_demo
#scratcher: ^1.3.0
#
# image_picker: ^0.6.5+2
#image_picker_saver: ^0.3.0
#image_gallery_saver: ^1.2.2
#图片拾取
multi_image_picker: ^4.8.0
nested: ^1.0.0
#裁剪
image_editor: ^1.0.2
#另一个插件image_editor_dove
#压缩图片
flutter_image_compress: ^1.1.0
#cached_network_image: ^2.0.0-rc.1
# 类iOS侧滑菜单
#flutter_slidable: 0.5.3
# 谁用谁闪亮 (骨架屏)
shimmer: ^2.0.0-nullsafety.0
#chart
#mp_chart: ^0.1.9
# 更新展示支持mark_down
#flutter_markdown: ^0.2.0
#flare 动画
#flare_flutter: ^1.5.9
# third_app
url_launcher: ^6.0.20 #启动第三方app
share_plus: ^3.1.0 #分享
launch_review: ^3.0.1
open_file: ^3.2.1
# android权限弹窗
# permission_handler: ^3.3.0
permission_handler: ^9.1.0
#屏幕适配
#flutter_screenutil: ^0.5.3
#数据库
#sqflite: ^1.1.7
#下方两个为常用工具类 详见文档:https://github.com/Sky24n/common_utils
#适配、sp本地缓存、路径util等
flustars: ^2.0.1
#字符串util、日期格式化、加解密、日志、等等
#根据文档,纯dart项目依赖下面的库
#common_utils: ^2.0.2
#微信 mmkv 比sp更快
# 没有实现NullSafety, 用lib\base_framework\utils\mmkv_flutter.dart代替
# mmkv_flutter: ^1.0.10
#网络状态
connectivity_plus: ^2.2.1
# #高德地图
# amap_location: ^0.2.0
#如果你需要用到地图, 定位和搜索三个组件, 建议使用amap_all_fluttify,
#amap_map_fluttify: ^0.21.0-dev.3
#google_maps_flutter: ^0.5.26+4
#location: ^3.0.2
#bmap_map_fluttify: 0.0.2
#抛物线动画
#add_cart_parabola: ^0.0.6
#banner
carousel_slider: ^4.0.0-nullsafety.0
#暂时使用了 ScrollablePositionedList
#flutter_widgets: ^0.1.7+1
#indexed_list_view: ^1.0.8
flutter_datetime_picker: ^1.5.1
#pop dialog :https://juejin.im/post/5d85b4a06fb9a06af238aef9
flutter_custom_dialog: ^1.2.0
#微信SDK https://github.com/OpenFlutter/fluwx
#fluwx: ^1.1.3
#支付宝
#tobias: ^1.2.1
#google
#firebase_auth: ^0.16.0
#google_sign_in: ^4.4.1
#facebook
#flutter_facebook_login: ^3.0.0
#facebook_share
#fcm
#firebase_messaging: ^6.0.13
#滚动到制定item的list--- 个人经验,目前最好使的了
scrollable_positioned_list: ^0.2.3
#通知插件, https://pub.flutter-io.cn/packages/flutter_local_notifications
#flutter_local_notifications: ^1.4.2
#自定义data 滚轮选择
#flutter_picker: ^1.1.3
#flutter_bugly: ^0.2.8
reflectable: ^3.0.1
build_runner: ^2.1.7
#传感器
sensors_plus: ^1.3.0
dev_dependencies:
flutter_test:
sdk: flutter
# 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:
- assets/images/
- assets/images/icons/
# 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
flutter_intl:
enabled: true