-
-
Notifications
You must be signed in to change notification settings - Fork 336
Expand file tree
/
Copy pathpubspec.yaml
More file actions
187 lines (166 loc) 路 6.35 KB
/
Copy pathpubspec.yaml
File metadata and controls
187 lines (166 loc) 路 6.35 KB
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
name: opennutritracker
description: Open-Source Calories & Activity Tracker
# 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 is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.2+61
environment:
sdk: '>=3.11.0 <4.0.0'
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
collection: ^1.19.1
meta: ^1.17.0
intl: ^0.20.2
get_it: ^9.2.1
provider: ^6.1.5+1
http: ^1.6.0
uuid: ^4.6.0
json_annotation: ^4.12.0
logging: ^1.3.0
path_provider: ^2.1.6
flutter_secure_storage: ^10.0.0
cupertino_icons: ^1.0.9
package_info_plus: ^9.0.1
url_launcher: ^6.3.2
flutter_svg: ^2.2.4
cached_network_image: ^3.4.1
flutter_cache_manager: ^3.4.2
envied: ^1.3.8
archive: 4.0.9
file_picker: ^11.0.2
flutter_bloc: ^9.1.1
bloc_concurrency: ^0.3.0
stream_transform: ^2.1.1
equatable: ^2.1.0
percent_indicator: ^4.2.5
horizontal_picker: ^1.2.0
table_calendar: ^3.2.0
introduction_screen: ^4.0.0
auto_size_text: ^3.0.0
animated_flip_counter: ^0.3.4
fl_chart: ^1.2.0
mobile_scanner: ^7.2.0
qr_flutter: ^4.1.0
share_plus: ^12.0.2
image_picker: ^1.2.3
flutter_image_compress: ^2.5.1
hive_ce: ^2.19.3
hive_ce_flutter: ^2.3.4
sentry_flutter: ^9.26.0
supabase_flutter: ^2.16.0
flutter_local_notifications: ^20.1.0
timezone: ^0.10.1
flutter_timezone: ^5.1.0
dynamic_color: ^1.7.0
# Health Connect (Android) / Apple Health (iOS) workout import. Every call
# sits behind HealthService so the plugin never loads under `flutter test`.
# Pinned below 13.3.2: that release pulls device_info_plus ^13.2.0, whose
# win32 ^6 constraint collides with package_info_plus ^9.0.1's win32 ^5.
health: ^13.1.4
dev_dependencies:
flutter_test:
sdk: flutter
integration_test:
sdk: flutter
build_runner: ^2.15.1
json_serializable: ^6.14.1
flutter_lints: ^6.0.0
flutter_launcher_icons: ^0.14.4
hive_ce_generator: ^1.11.2
envied_generator: ^1.3.8
mockito: ^5.6.4
# Transitively required by image_picker; declared explicitly so tests
# can stub PathProviderPlatform.instance for filesystem round-trips.
path_provider_platform_interface: ^2.1.3
# Transitively required by share_plus; declared explicitly so widget tests
# can verify ShareParams at the plugin boundary.
share_plus_platform_interface: ^6.1.0
plugin_platform_interface: ^2.1.8
flutter:
generate: true
uses-material-design: true
assets:
- assets/icon/ont_logo_square.svg
- assets/icon/ont_splash_rings.svg
- assets/icon/ont_splash_spoon.svg
- assets/icon/ont_logo_square_color_back_1024x1024.png
- assets/icon/ont_logo_square_color_white_1024x1024.png
- assets/icon/ont_banner_top.png
- assets/icon/ont_banner_top_light.png
- assets/icon/nonbinary_symbol.svg
# Offline demo profile portrait (bundled Unsplash photo; credit in
# unsplash_attribution.dart). Avoids a hot network download on Try Demo.
- assets/demo/alex_demo_avatar.jpg
# Bundled demo meal photos, one JPEG per curated Unsplash id (credits
# in unsplash_attribution.dart). Shipping them means Try Demo never
# contacts Unsplash's CDN, at seed time or at render time.
- assets/demo/meals/
fonts:
- family: CustomIcons
fonts:
- asset: fonts/CustomIcons.ttf
- family: Poppins
fonts:
- asset: fonts/Poppins-Black.ttf
- asset: fonts/Poppins-BlackItalic.ttf
style: italic
- asset: fonts/Poppins-Bold.ttf
- asset: fonts/Poppins-BoldItalic.ttf
style: italic
- asset: fonts/Poppins-ExtraBold.ttf
- asset: fonts/Poppins-ExtraBoldItalic.ttf
style: italic
- asset: fonts/Poppins-ExtraLight.ttf
- asset: fonts/Poppins-ExtraLightItalic.ttf
style: italic
- asset: fonts/Poppins-Italic.ttf
style: italic
- asset: fonts/Poppins-Light.ttf
- asset: fonts/Poppins-LightItalic.ttf
style: italic
- asset: fonts/Poppins-Medium.ttf
- asset: fonts/Poppins-MediumItalic.ttf
style: italic
- asset: fonts/Poppins-Regular.ttf
- asset: fonts/Poppins-SemiBold.ttf
- asset: fonts/Poppins-SemiBoldItalic.ttf
style: italic
- asset: fonts/Poppins-Thin.ttf
- asset: fonts/Poppins-ThinItalic.ttf
style: italic
# Nunito.ttf is a variable font (wght 200-1000); Flutter instances the
# axis from TextStyle.fontWeight, so one asset covers the whole scale.
- family: Nunito
fonts:
- asset: fonts/Nunito.ttf
flutter_launcher_icons:
android: true
adaptive_icon_foreground: "assets/icon/ont_logo_square_color_back_1024x1024.png"
adaptive_icon_background: "#ffffff"
adaptive_icon_monochrome: "assets/icon/ont_logo_square_color_white_1024x1024.png"
ios: true
remove_alpha_ios: true
image_path: "assets/icon/ont_logo_square_color_back_1024x1024.png"
image_path_ios_dark_transparent: "assets/icon/ont_logo_square_color_white_1024x1024.png"
image_path_ios_tinted_grayscale: "assets/icon/ont_logo_square_color_white_1024x1024.png"
desaturate_tinted_to_grayscale_ios: true
min_sdk_android: 21