-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathpubspec.yaml
157 lines (122 loc) · 4.46 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
name: flutter_auth_app
description: This is base for my project in flutter
# 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 app.
# 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.4.3 <4.0.0'
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your app.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
# Use as default SVG image loader, prefer use SVG as image asset
flutter_svg: ^2.0.17
# Functional programming thingies
dartz: ^0.10.1
# Use as Network Client
dio: ^5.7.0
# Use hive to save local data
hive: ^2.2.3
hive_flutter: ^1.1.0
# Use for Dependencies Injection
get_it: ^8.0.3
# Use for State Management with BLoC pattern
flutter_bloc: ^9.0.0
# Use for custom toast with Status, ex:Loading,Success,Failed
oktoast: ^3.4.0
# Use for responsive UI, set default size base on Mock Up
flutter_screenutil: ^5.9.3
cached_network_image: ^3.4.1
# logger
logger: ^2.5.0
# Firebase
firebase_core: ^3.10.0
firebase_analytics: ^11.4.0
firebase_crashlytics: ^4.3.0
# router
go_router: ^14.6.3
# Freezed
freezed_annotation: ^2.4.4
json_annotation: ^4.9.0
flutter_native_splash: ^2.4.4
intl: ^0.20.1
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.14.2
#Remove unused files
# dart_code_metrics: ^4.21.0
lint: ^2.3.0
flutter_lints: ^5.0.0
bloc_test: ^10.0.0
build_runner: ^2.4.14
http_mock_adapter: ^0.6.1
#Temporary using old version because error when generate build_runner
mockito: ^5.4.5
# Freezed
freezed: ^2.5.7
json_serializable: ^6.9.0
# hive generator
hive_generator: ^2.0.1
dependency_overrides:
intl: ^0.20.1
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
# The following line ensures that the Material Icons font is
# included with your app, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your app, add an assets section, like this:
assets:
- assets/images/
- assets/fonts/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
fonts:
- family: Poppins
fonts:
- asset: assets/fonts/Poppins-Thin.ttf
weight: 100
- asset: assets/fonts/Poppins-ExtraLight.ttf
weight: 200
- asset: assets/fonts/Poppins-Light.ttf
weight: 300
- asset: assets/fonts/Poppins-Regular.ttf
weight: 400
- asset: assets/fonts/Poppins-Medium.ttf
weight: 500
- asset: assets/fonts/Poppins-SemiBold.ttf
weight: 600
- asset: assets/fonts/Poppins-Bold.ttf
weight: 700
- asset: assets/fonts/Poppins-ExtraBold.ttf
weight: 800
- asset: assets/fonts/Poppins-Black.ttf
weight: 900
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages