-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
77 lines (58 loc) · 1.42 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
name: fluttersample
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ">=2.13.4 <3.0.0"
dependencies:
flutter_localizations: #多语言
sdk: flutter
flutter:
sdk: flutter
cupertino_icons: ^1.0.2 #ios Icons
cached_network_image: ^3.0.0-nullsafety
fluttertoast: ^8.0.7
flutter_easyloading: ^3.0.3
event_bus: 2.0.0
http: 0.13.3
dio: 4.0.0
http2: 1.0.1
json_annotation: 4.1.0
path_provider: ^2.0.3
shared_preferences: ^2.0.7
sqflite: 2.0.2
provider: ^5.0.0
convert: ^3.0.2
crypto: ^3.0.2 # md5加密
logger: ^1.1.0
dog: ^1.4.0
# 中台化,尽量使用 project -> module -> plugin ,其中module相当于flutter的中间层
crash:
path: ./plugin/crash
# crash:
# git:
# url: https://github.com/yanchunlan/fluttersample.git
# path: packages/crash
flutter_network_module:
path: ./module/flutter_network_module
flutter_reflect_module:
path: ./module/flutter_reflect_module
flutter_local_notifications: 9.1.5 # 系统通知插件
#解决依赖冲突
dependency_overrides:
archive: ^3.3.0
crypto: ^3.0.2
meta: ^1.8.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.0
build_runner: 2.1.1
json_serializable: 5.0.1
flutter:
uses-material-design: true
assets:
- assets/img/
# 多语言插件
flutter_intl:
enabled: true