-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
pubspec.yaml
139 lines (127 loc) · 4.59 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
name: flutter_deer
description: Flutter Deer
version: 1.3.3+22
# 唯鹿 <a05111993@163.com>
homepage: https://weilu.blog.csdn.net/
publish_to: 'none'
environment:
sdk: ">=3.4.0 <4.0.0"
flutter: ">=3.19.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# 去除网页URL中的“#”(hash) https://flutter.cn/docs/development/ui/navigation/url-strategies
url_strategy: 0.3.0
# Localization https://github.com/dart-lang/intl
intl: ^0.19.0
# Toast插件 https://github.com/OpenFlutter/flutter_oktoast
oktoast: ^3.4.0
# 网络库 https://github.com/cfug/dio
dio: ^5.7.0
# https://github.com/ReactiveX/rxdart
rxdart: ^0.28.0
# Dart 常用工具类库 https://github.com/Sky24n/common_utils
common_utils: 2.1.0
sp_util: 2.0.3
# Flutter 常用工具类库 https://github.com/Sky24n/flustars
flustars_flutter3: ^3.0.0 # flustars很久不维护,可以使用这个替代
# Flutter 轮播图 https://github.com/mdddj/flutter_swiper_null_safety
flutter_swiper_null_safety_flutter3: ^4.0.3 # flutter_swiper很久不维护,可以使用这个替代
# 启动URL的插件(支持Web) https://github.com/flutter/packages/tree/main/packages/url_launcher
url_launcher: 6.3.0
# 图片选择插件 https://github.com/flutter/packages/tree/main/packages/image_picker
image_picker: 1.1.2
# 侧滑删除 https://github.com/letsar/flutter_slidable
flutter_slidable: ^3.1.1
# WebView插件 https://github.com/flutter/packages/tree/main/packages/webview_flutter
webview_flutter: 4.8.0
# 处理键盘事件 https://github.com/diegoveloper/flutter_keyboard_actions
keyboard_actions: ^4.2.0
# 城市选择列表 https://github.com/flutterchina/azlistview
azlistview: ^2.0.0
# 路由框架 https://github.com/theyakka/fluro
fluro: ^2.0.5
# 图片缓存 https://github.com/renefloor/flutter_cached_network_image
cached_network_image: ^3.4.0
# 格式化String https://github.com/Naddiseo/dart-sprintf
sprintf: ^7.0.0
# 状态管理 https://github.com/rrousselGit/provider
provider: ^6.1.2
# 扫码 https://github.com/juliuscanute/qr_code_scanner
qr_code_scanner:
git:
url: 'https://github.com/NeverOvO/qr_code_scanner.git'
ref: '3fe7b88'
# App Shortcuts https://github.com/flutter/packages/tree/main/packages/quick_actions
quick_actions: 1.0.7
# 振动 https://github.com/benjamindean/flutter_vibration
vibration: 2.0.0
vibration_web: 1.6.8
# 获取当前设备信息 https://github.com/fluttercommunity/plus_plugins/tree/main/packages/device_info_plus
device_info_plus: 11.1.1
# 桌面应用调整窗口的大小和位置 https://github.com/leanflutter/window_manager
window_manager: 0.4.0
# 高德2D地图插件(支持Web) https://github.com/simplezhli/flutter_2d_amap
flutter_2d_amap:
git:
ref: '0105ceae'
url: 'https://github.com/simplezhli/flutter_2d_amap.git'
# demo 用到的库
# 刮刮卡 https://github.com/vintage/scratcher
scratcher: ^2.5.0
# 动画效果 https://github.com/xvrh/lottie-flutter
lottie: ^3.1.2
win32: 5.5.3
# https://github.com/simplezhli/flutter_deer/issues/187
dependency_overrides:
scrollable_positioned_list: ^0.3.2
dev_dependencies:
# Widget测试
flutter_test:
sdk: flutter
# 集成测试
flutter_driver:
sdk: flutter
integration_test:
sdk: flutter
# 黄金测试
# flutter_goldens:
# sdk: flutter
# 单元测试
test: ^1.16.8
# For information on the generic Dart part of this file, see the
# following page: https:/w.dartlang.org/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
generate: true
# 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
assets:
- assets/data/
- assets/images/
- assets/images/home/
- assets/images/store/
- assets/images/state/
- assets/images/order/
- assets/images/order/dark/
- assets/images/login/
- assets/images/goods/
- assets/images/shop/
- assets/images/account/
- assets/images/statistic/
- assets/lottie/
# 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: RobotoThin
fonts:
- asset: assets/fonts/Roboto-Thin.ttf
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages