-
Notifications
You must be signed in to change notification settings - Fork 35
/
pubspec.yaml
125 lines (117 loc) · 3.36 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
name: nft
description: "A new Flutter project. This template is created by nhancv."
version: 4.1.0+202407001
homepage: https://github.com/nhancv/nft
environment:
sdk: '>=3.4.3 <4.0.0'
flutter_intl:
enabled: true
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
cupertino_icons: ^1.0.6
meta: ^1.7.0
intl: ^0.19.0
flutter_screenutil: ^5.8.4
flutter_spinkit: ^5.2.0
fluttertoast: ^8.2.2
logger: ^2.3.0
tuple: ^2.0.1
dio: ^5.1.2
email_validator: ^3.0.0
npreferences: ^5.0.0
simple_animations: ^5.0.1
flutter_riverpod: ^2.4.2
riverpod_annotation: ^2.1.1
shared_preferences_web: any
dev_dependencies:
build_runner: ^2.4.4
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
flutter_lints: ^4.0.0
mockito: ^5.3.0
mocktail: ^1.0.4
test: ^1.21.1
flutter_launcher_icons: ^0.13.1
# Check lint
# dart analyze
# dart run custom_lint
custom_lint: ^0.6.4
riverpod_lint: ^2.3.10
# To generate riverpod
# dart run build_runner watch
riverpod_generator: ^2.1.5
flutter_launcher_icons:
ios: true
android: true
image_path_ios: "assets/base/icons/app_icon_ios.png"
image_path_android: "assets/base/icons/app_icon_ad.png"
adaptive_icon_background: "assets/base/icons/adaptive_icon_background.png" # for Android 8.0+ devices
adaptive_icon_foreground: "assets/base/icons/adaptive_icon_foreground.png" # for Android 8.0+ devices
remove_alpha_ios: true
background_color_ios: "#ffffff"
web:
generate: true
image_path: "assets/base/icons/app_icon_1024.png"
background_color: "#0175C2"
theme_color: "#0175C2"
windows:
generate: true
image_path: "assets/base/icons/app_icon_1024.png"
icon_size: 48 # min:48, max:256, default: 48
macos:
generate: true
image_path: "assets/base/icons/app_icon_1024.png"
# To Generate icon
# flutter pub get
# dart run flutter_launcher_icons:main
flutter:
uses-material-design: true
assets:
- assets/base/icons/
- assets/base/fonts/
- assets/app/icons/
- assets/app/fonts/
fonts:
- family: Roboto
fonts:
- asset: assets/base/fonts/Roboto/Roboto-Thin.ttf
weight: 100
- asset: assets/base/fonts/Roboto/Roboto-Light.ttf
weight: 300
- asset: assets/base/fonts/Roboto/Roboto-Regular.ttf
weight: 400
- asset: assets/base/fonts/Roboto/Roboto-Medium.ttf
weight: 500
- asset: assets/base/fonts/Roboto/Roboto-Bold.ttf
weight: 700
- asset: assets/base/fonts/Roboto/Roboto-Black.ttf
weight: 900
- family: Lato
fonts:
- asset: assets/app/fonts/Lato/Lato-Thin.ttf
weight: 100
- asset: assets/app/fonts/Lato/Lato-ThinItalic.ttf
style: italic
weight: 100
- asset: assets/app/fonts/Lato/Lato-Light.ttf
weight: 300
- asset: assets/app/fonts/Lato/Lato-LightItalic.ttf
style: italic
weight: 300
- asset: assets/app/fonts/Lato/Lato-Regular.ttf
weight: 400
- asset: assets/app/fonts/Lato/Lato-Bold.ttf
weight: 700
- asset: assets/app/fonts/Lato/Lato-BoldItalic.ttf
style: italic
weight: 700
- asset: assets/app/fonts/Lato/Lato-Black.ttf
weight: 900
- asset: assets/app/fonts/Lato/Lato-BlackItalic.ttf
style: italic
weight: 900