forked from ml-opensource/flutter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pubspec.yaml
125 lines (107 loc) · 3.56 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
name: flutter_template
description: A new Flutter application.
# The following line prevents the package from being accidentally published to
# pub.dev using `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: ^3.0.0
dependencies:
flutter:
sdk: flutter
# Localization
nstack:
git:
url: https://github.com/nstack-io/flutter-sdk.git
ref: v0.5.1
# UI
cupertino_icons: ^1.0.6
flutter_svg: ^2.0.9
flutter_sticky_header: ^0.6.5
auto_size_text: ^3.0.0
theme_tailor_annotation: ^3.0.1
# Data
dio: ^5.4.0
freezed_annotation: ^2.4.1
json_annotation: ^4.8.1
# Utility
device_info_plus: ^9.1.1
package_info_plus: ^5.0.1
# Persistence
flutter_secure_storage: ^9.0.0
shared_preferences: ^2.2.2
# Architecture
get_it: ^7.6.6
injectable: ^2.3.2
auto_route: ^7.8.4
flutter_bloc: ^8.1.3
dev_dependencies:
flutter_test:
sdk: flutter
build_runner: ^2.4.7
theme_tailor: ^3.0.1
freezed: ^2.4.6
json_serializable: ^6.7.1
injectable_generator: ^2.4.1
auto_route_generator: ^7.3.2
monstarlab_lints: ^1.0.2
# Simplified work with assets
flutter_gen_runner: ^5.4.0
flutter_gen:
integrations:
flutter_svg: true
# The following section is specific to Flutter.
flutter:
# 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
# To add assets to your application, add an assets section, like this:
assets:
- assets/icons/
- assets/images/
fonts:
- family: Roboto
fonts:
- asset: assets/fonts/Roboto-Black.ttf
weight: 900
- asset: assets/fonts/Roboto-BlackItalic.ttf
weight: 900
style: italic
- asset: assets/fonts/Roboto-Bold.ttf
weight: 700
- asset: assets/fonts/Roboto-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/Roboto-Italic.ttf
weight: 400
style: italic
- asset: assets/fonts/Roboto-Light.ttf
weight: 300
- asset: assets/fonts/Roboto-LightItalic.ttf
weight: 300
style: italic
- asset: assets/fonts/Roboto-Medium.ttf
weight: 500
- asset: assets/fonts/Roboto-MediumItalic.ttf
weight: 500
style: italic
- asset: assets/fonts/Roboto-Regular.ttf
weight: 400
- asset: assets/fonts/Roboto-Thin.ttf
weight: 100
- asset: assets/fonts/Roboto-ThinItalic.ttf
weight: 100
style: italic
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages