-
Notifications
You must be signed in to change notification settings - Fork 5
/
pubspec.yaml
45 lines (37 loc) · 916 Bytes
/
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
name: flutter_template_mini
description: flutter_template_mini
publish_to: 'none'
# 版本号
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# 本地化
flutter_localizations:
sdk: flutter
# 数据持久化
shared_preferences: ^2.0.11
# http
dio: ^4.0.5-beta1
# loading 遮盖层
flutter_easyloading: ^3.0.3
# 状态管理
provider: ^6.0.1
dev_dependencies:
flutter_test:
sdk: flutter
# flutter 相关的配置选项
flutter:
# 默认的 Material Design 字体图标
uses-material-design: true
# 静态资源
assets:
- assets/images/login/
# 自定义字体图标(该脚手架没有用这个,用的是 Flutter 自带的默认 Icons)
# 使用教程 https://book.flutterchina.club/chapter3/img_and_icon.html#_3-3-2-icon
fonts:
- family: iconfont
fonts:
- asset: assets/icons/iconfont.ttf