-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
56 lines (45 loc) · 1.71 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
name: myflutter
description: my one flutter project
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# 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.15.1 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_test:
sdk: flutter
flutter_localizations: # Add this line
sdk: flutter # Add this line
cupertino_icons: ^1.0.2
provider: ^5.0.0
dio: ^4.0.4
fluttertoast: ^8.0.8
shared_preferences: ^2.0.6
cached_network_image: ^3.2.0
intl: ^0.17.0
json_serializable: ^5.0.0
build_runner: ^2.0.0
intl_generator: 0.2.1
flutter_lints: ^1.0.0
flutter:
uses-material-design: true
#加载资源要声明不然会报错
assets:
- imgs/avatar-default.png
fonts:
- family: myIcon
fonts:
- asset: fonts/iconfont.ttf