Repository navigation
Expand file tree
/
Copy pathpubspec.yaml
More file actions
187 lines (175 loc) · 6.96 KB
/
Copy pathpubspec.yaml
File metadata and controls
187 lines (175 loc) · 6.96 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: flick
description: "A music player with custom built UAC 2.0"
# 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
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.23.3-beta.5+34
environment:
sdk: ^3.10.4
# 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:
audio_session: ^0.2.4
crypto: ^3.0.3
connectivity_plus: ^7.0.0
cupertino_icons: ^2.0.0
fading_marquee_widget: ^1.2.1
file_picker: ^11.0.3
fl_chart: ^1.1.1
flutter:
sdk: flutter
flutter_cache_manager: ^3.4.5
flutter_localizations:
sdk: flutter
flutter_displaymode: ^0.7.0
flutter_markdown: ^0.7.7
flutter_riverpod: ^3.0.3
flutter_rust_bridge: ^2.13.0
flutter_secure_storage: ^10.3.4
flutter_svg: ^2.3.0
home_widget: ^0.10.0
freezed_annotation: ^3.0.0
http: ^1.2.0
image: ^4.10.1
image_picker: ^1.2.3
intl: any
isar_community: ^3.3.2
isar_community_flutter_libs: ^3.3.2
json_annotation: ^4.9.0
just_audio: ^0.10.6
lucide_icons_flutter: ^3.1.8
native_toolchain_rust: ^1.0.7
path: ^1.9.1
path_provider: ^2.1.6
permission_handler: ^13.0.2
riverpod_annotation: ^4.0.0
restart_app: ^1.10.1
rust_lib_flick_player:
path: rust_builder
shared_preferences: ^2.2.2
in_app_update: ^5.0.0
share_plus: ^10.1.4
skeletonizer: ^3.0.0
url_launcher: ^6.3.2
video_player: ^2.9.5
xml: ^7.0.1
dev_dependencies:
build_runner: ^2.15.1
flutter_launcher_icons: ^0.14.4
flutter_lints: ^6.0.0
flutter_test:
sdk: flutter
test: ^1.25.0
freezed: ^3.0.0
integration_test:
sdk: flutter
isar_community_generator: ^3.3.2
json_serializable: 6.11.2
riverpod_generator: 4.0.0+1
riverpod_lint: ^3.0.3
flutter_launcher_icons:
image_path: "assets/icons/reverse_flick_logo.png"
android: "launcher_icon"
adaptive_icon_background: "#F5F5F5"
adaptive_icon_foreground: "assets/icons/reverse_flick_logo_transparent.png"
adaptive_icon_monochrome: "assets/icons/reverse_flick_logo.png"
# Resolve conflict between riverpod_generator and isar_community_generator
# while keeping build_runner compatible with the cached toolchain versions.
dependency_overrides:
analyzer: 8.1.1
dart_style: 3.1.2
flutter:
uses-material-design: true
# Generates AppLocalizations from lib/l10n/*.arb (see l10n.yaml).
generate: true
assets:
- assets/icons/flicklogo.png
- assets/icons/flicklogo_svg.svg
- assets/icons/flicklogo_transparent.png
- assets/icons/brands/
- assets/recap/
- assets/icons/svg/menu.svg
- assets/icons/svg/record_vinyl.svg
- assets/icons/svg/settings.svg
- assets/icons/svg/menu_black.svg
- assets/icons/svg/record_vinyl_black.svg
- assets/icons/svg/settings_black.svg
- assets/icons/svg/menu_white.svg
- assets/icons/svg/record_vinyl_white.svg
- assets/icons/svg/settings_white.svg
- assets/icons/svg/shuffle_black.svg
- assets/icons/svg/shuffle_white.svg
- assets/autoeq/autoeq_catalog.json
- assets/autoeq/autoeq_brands.json
- assets/fonts/GoogleSansFlex-OFL.txt
- assets/fonts/NotoSansSC-OFL.txt
- assets/fonts/NotoSansTagalog-OFL.txt
fonts:
# Google Sans Flex replaces Product Sans, which was not licensed for
# third-party redistribution. The four faces are instanced from the
# upstream variable font (SIL OFL 1.1, no Reserved Font Names) by
# tool/gen_app_font.py; see GoogleSansFlex-OFL.txt for the license.
- family: GoogleSansFlex
fonts:
- asset: assets/fonts/GoogleSansFlex-BoldItalic.ttf
weight: 700
style: italic
- asset: assets/fonts/GoogleSansFlex-Italic.ttf
weight: 400
style: italic
- asset: assets/fonts/GoogleSansFlex-Bold.ttf
weight: 700
style: normal
- asset: assets/fonts/GoogleSansFlex-Regular.ttf
weight: 400
style: normal
# Simplified Chinese fallback.
#
# Google Sans Flex is Latin/Greek only, and the app's bundled subset is
# deliberately smaller still. Skia does not search bundled fonts for
# missing characters (AssetFontManager::onMatchFamilyStyleCharacter
# returns nullptr), so nothing would change without an explicit request.
# AppTheme.fontFamilyFallback names this family, and every style in the
# app's text theme carries that fallback, so Chinese renders in the bundled
# Noto Sans SC instead of the device font.
#
# The subset is generated by tool/gen_font_subset.py from the variable Noto
# Sans SC: instanced to static 400/700, then cut down to the characters the
# app's own strings use (1156 of them). That keeps it at ~348 KB per weight
# instead of ~17 MB for the full family. Characters outside the subset -- a
# rare glyph in a song title, say -- still fall back to the platform font,
# so nothing renders as a tofu box. Run the script again (with --check) after
# adding strings; --check can also be wired into CI to catch a stale subset.
#
# Licensed under the SIL Open Font License 1.1; see NotoSansSC-OFL.txt.
- family: NotoSansSC
fonts:
- asset: assets/fonts/NotoSansSC-Regular.ttf
weight: 400
style: normal
- asset: assets/fonts/NotoSansSC-Bold.ttf
weight: 700
style: normal
# Full, unmodified OFL font (~52 KB), including both vowel-cancelling marks.
# Explicitly requested by AppTheme.fontFamilyFallback, including in Latin UI
# so the language selector can display Baybayin before it is selected.
- family: NotoSansTagalog
fonts:
- asset: assets/fonts/NotoSansTagalog-Regular.ttf
weight: 400