Repository navigation
Expand file tree
/
Copy pathpubspec.yaml
More file actions
202 lines (187 loc) · 5.55 KB
/
Copy pathpubspec.yaml
File metadata and controls
202 lines (187 loc) · 5.55 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
name: hiddify
description: Cross Platform Multi Protocol Proxy Frontend.
publish_to: "none"
version: 5.0.0+50000
environment:
sdk: ^3.10.4
# ! IMPORTANT !
# This SDK version is strictly required and must not be removed.
# It is parsed/grep-ed by Makefile and Dockerfile to configure the build environment.
# Ensure this matches the target Flutter version.
flutter: ^3.38.5
dependencies:
flutter:
sdk: flutter
# Debug-only, like accessibility_tools: the two lib/main*.dart entrypoints
# gate it behind kDebugMode, so release builds tree-shake it away.
flutter_driver:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: ^0.20.2
# lucy_editor: ^1.0.5
# re_highlight: ^0.0.3
# json_editor_flutter: ^1.4.2
slang: ^4.8.1
slang_flutter: ^4.8.0
fpdart: ^1.1.0
freezed_annotation: ^2.4.1
json_annotation: ^4.9.0
hooks_riverpod: ^2.4.10
flutter_hooks: ^0.20.5
riverpod_annotation: ^2.3.4
rxdart: ^0.28.0
drift: ^2.21.0
drift_flutter: ^0.2.1
shared_preferences: ^2.5.2
# shared_preferences_android: ^2.4.8
dio: ^5.4.1
ffi: ^2.1.2
path_provider: ^2.1.1
mobile_scanner: ^7.2.0
# protocol_handler: ^0.2.0
flutter_native_splash: ^2.3.10
share_plus: ^10.1.0
window_manager: ^0.5.0
tray_manager: ^0.5.0
# get list of connected monitors (on Desktops), including their size and position
screen_retriever: ^0.2.0
package_info_plus: ^8.1.0
url_launcher: ^6.2.5
vclibs: ^0.1.2
launch_at_startup: ^0.5.1
sentry_flutter: ^8.14.0
sentry_dart_plugin: ^2.4.1
sqlite3_flutter_libs: ^0.5.28
path: ^1.9.0
logging: ^1.3.0
meta: ^1.15.0
dartx: ^1.2.0
uuid: ^4.3.3
tint: ^2.0.1
accessibility_tools: ^2.2.3
neat_periodic_task: ^2.0.1
go_router: ^16.2.4
flutter_animate: ^4.5.0
flutter_svg: ^2.0.10+1
gap: ^3.0.1
# percent_indicator_premium: ^0.0.2
sliver_tools: ^0.2.12
font_awesome_flutter: ^10.7.0
upgrader: ^11.3.0
version: ^3.0.2
qr_flutter: ^4.1.0
flutter_displaymode: ^0.6.0
dio_smart_retry: ^7.0.1
cupertino_http: ^2.0.1
dart_mappable: ^4.2.1
fluentui_system_icons: ^1.1.229
json_path: ^0.7.1
# permission_handler: ^11.3.0 # is not compatible with windows
#flutter_easy_permission: ^1.1.2
# flutter_easy_permission:
# git: https://github.com/MichaelStH/flutter_easy_permission.git
in_app_review: ^2.0.10
# circle_flags: ^4.0.2
circle_flags:
git: https://github.com/hiddify-com/flutter_circle_flags.git
fixnum: ^1.1.0
# # for using protobuf install protoc from this link -> https://github.com/protocolbuffers/protobuf/releases
# # then add path to "environment variable" e.g. -> C:\src\protoc-28.3-win64\bin
# # then active "protoc_plugin" by running this command -> dart pub global activate protoc_plugin
# # then add path to "environment variable" e.g. -> C:\Users\%USERPROFILE%\AppData\Local\Pub\Cache\global_packages\protoc_plugin\bin
protobuf: ^5.0.0
grpc: ^4.0.1
dynamic_color: ^1.7.0
flutter_typeahead: ^5.0.1
# flutter_platform_widgets: ^7.0.1
simple_icons: ^10.1.3
basic_utils: ^5.7.0
text_scroll: ^0.2.0
flutter_markdown_plus: ^1.0.6
# platform-specific settings
# https://github.com/miguelpruivo/flutter_file_picker/wiki/Setup
file_picker: ^8.1.7
# Used for reading the .zip files picked in the profile file import
archive: ^4.0.4
installed_apps: # ^1.5.2
git: https://github.com/VB10/installed_apps
# change case of text
# for example camelCase to snake_case
# helloWorld -> hello_worlds
recase: ^4.1.0
# Used for managing deep links on desktop platforms
# platform-specific settings
# https://github.com/llfbandit/app_links/tree/master/doc
app_links: ^6.4.0
# Used for registering custom schemes in the Windows registry
win32: ^5.12.0
humanizer: ^3.0.1
dev_dependencies:
flutter_test:
sdk: flutter
lint: ^2.3.0
build_web_compilers: ^4.0.11
build_runner: ^2.4.13
json_serializable: ^6.7.1
freezed: ^2.4.7
riverpod_generator: ^2.4.3
drift_dev: ^2.21.0
ffigen: ^19.1.0
slang_build_runner: ^4.4.0
flutter_gen_runner: ^5.4.0
dart_mappable_builder: ^4.2.1
# protoc_builder: ^0.4.1
# google_protobuf: ^3.20.1;
flutter:
uses-material-design: true
assets:
# - assets/core/geoip.db
# - assets/core/geosite.db
- assets/images/logo.svg
- assets/images/tray_icon.ico
- assets/images/tray_icon.png
- assets/images/tray_icon_dark.ico
- assets/images/tray_icon_dark.png
- assets/images/tray_icon_connected.ico
- assets/images/tray_icon_connected.png
- assets/images/tray_icon_disconnected.ico
- assets/images/tray_icon_disconnected.png
- assets/images/connect_norouz.PNG
- assets/images/disconnect_norouz.PNG
- assets/images/world_map.png
- assets/images/source/ic_launcher_border.png
fonts:
- family: Shabnam
fonts:
- asset: assets/fonts/Shabnam.ttf
# - family: Roboto
# fonts:
# - asset: assets/fonts/Roboto.ttf
- family: Emoji
fonts:
- asset: assets/fonts/Emoji.ttf
flutter_gen:
output: lib/gen/
integrations:
flutter_svg: true
flutter_native_splash:
color: "#ffffff"
image: assets/images/source/ic_launcher_splash.png
android_gravity: center
android_12:
color: "#ffffff"
image: assets/images/source/ic_launcher_foreground.png
ffigen:
name: "HiddifyCoreNativeLibrary"
description: "Bindings to Hiddify Core Library"
output: "lib/gen/hiddify_core_generated_bindings.dart"
headers:
entry-points:
- "hiddify-core/bin/desktop.h"
sentry:
upload_debug_symbols: true
upload_source_maps: true
upload_sources: true
log_level: info
ignore_missing: true