-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpubspec.yaml
222 lines (193 loc) · 6.88 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
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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
name: waiter
description: A new Flutter project.
# 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: 9.9.9-debug+1 # Used in debug mode, the real version is generated by git tag
environment:
sdk: '>=3.3.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
sentry_flutter: ^8.2.0
sentry_hive: ^8.2.0
collection: ^1.18.0
# built in package
dao:
path: packages/dao
bangumi_api:
path: packages/bangumi_api
# state management
bloc: ^8.1.4
bloc_concurrency: ^0.2.5
flutter_bloc: ^8.1.5
go_router: ^14.3.0
get_it: ^8.0.2
# database
hive_flutter: ^1.1.0
hive: ^2.2.3
# model
json_annotation: ^4.9.0
dart_mappable: ^4.3.0
# window manage util
bitsdojo_window: ^0.1.6
system_tray: ^2.0.3
# api connection
http2: ^2.3.0
grpc: ^4.0.1
protobuf: ^3.1.0
tuihub_protos:
git:
url: https://github.com/tuihub/protos.git
ref: v0.4.23
fixnum: ^1.1.0
# theme
flex_color_scheme: ^7.3.1
chinese_font_library: ^1.2.0
fluent_ui: ^4.9.2
# ui components
fl_chart: ^0.69.0
lottie: ^3.1.2
data_table_2: ^2.5.12
animated_text_kit: ^4.2.2
syncfusion_flutter_sliders: ^27.1.53
syncfusion_flutter_core: ^27.1.53
common_utils: ^2.1.0
random_x: ^0.3.1
equatable: ^2.0.5
animations: ^2.0.11
multi_select_flutter: ^4.1.3
smooth_scroll_multiplatform: ^1.0.8
keframe: ^3.0.0
animated_toggle_switch: ^0.8.2
extended_image: ^9.0.3
font_awesome_flutter: ^10.7.0
buttons_tabbar: ^1.3.10
local_hero: ^0.3.0
auto_size_text: ^3.0.0
flip_card: ^0.7.0
flutter_multi_select_items: ^0.4.3
flutter_jsonschema_builder:
git:
url: https://github.com/tuihub/flutter_jsonschema_builder.git
ref: main
animated_tree_view: ^2.1.0
input_quantity: ^2.4.1
fluentui_system_icons: ^1.1.263
# rust bridge
flutter_rust_bridge: 2.5.0 # use fixed version
rust_lib_waiter:
path: rust_builder
freezed_annotation: ^2.4.1
# web
http: ^1.2.1
html: ^0.15.4
flutter_widget_from_html: ^0.15.0
# windows
win32: ^5.5.1
win32_registry: ^1.1.3
# android
flutter_displaymode: ^0.6.0
# l10n
intl: ^0.19.0
# fs
file_sizes: ^1.0.6
file_picker: ^8.0.3
screen_capturer: ^0.2.1
path_provider: ^2.1.3
open_file: ^3.3.2
universal_io: ^2.2.2
# env
flutter_dotenv: ^5.1.0
app_links: ^6.3.2
# utils
package_info_plus: ^8.0.0
device_info_plus: ^11.0.0
path: ^1.9.0
petitparser: ^6.0.2
url_launcher: ^6.3.0
flutter_markdown: ^0.7.1
pinyin: ^3.3.0
opml: ^0.4.0
uuid: ^3.0.7
glob: ^2.1.2
dev_dependencies:
flutter_test:
sdk: flutter
test: ^1.25.2
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^5.0.0
build_runner: ^2.4.13
freezed: ^2.5.2
json_serializable: ^6.8.0
go_router_builder: ^2.4.1
build_verify: ^3.1.0
dart_mappable_builder: ^4.3.0
# 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 packages.
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/images/
- web/icons/Icon-512.png
- windows/runner/resources/app_icon.ico
- PrivacyPolicy.md
- .env
# 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: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages
flutter_intl:
enabled: true
class_name: S # Optional. Sets the name for the generated localization class. Default: S
main_locale: zh_CN # Optional. Sets the main locale used for generating localization files. Provided value should consist of language code and optional script and country codes separated with underscore (e.g. 'en', 'en_GB', 'zh_Hans', 'zh_Hans_CN'). Default: en
arb_dir: l10n_arb/ # Optional. Sets the directory of your ARB resource files. Provided value should be a valid path on your system. Default: lib/l10n
output_dir: lib/l10n # Optional. Sets the directory of generated localization files. Provided value should be a valid path on your system. Default: lib/generated