-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpubspec.yaml
More file actions
79 lines (69 loc) · 2.26 KB
/
pubspec.yaml
File metadata and controls
79 lines (69 loc) · 2.26 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
name: xly
description: "A Test Flutter Package, DO NOT USE IT at present"
version: 0.38.2
homepage: https://github.com/dbsxdbsx/flutter_xly
repository: https://github.com/dbsxdbsx/flutter_xly
environment:
sdk: ^3.5.3
# 需要 Flutter 3.7+ 以支持 Overlay.of(context, rootOverlay: true)
flutter: ">=3.7.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
# need reexport
get: ^4.7.3
flutter_screenutil: ^5.9.3
window_manager: ^0.5.1
screen_retriever: ^0.2.0
lottie: ^3.1.2
get_storage: ^2.1.1
ffi: ^2.1.3
win32: ^5.9.0
tray_manager: ^0.5.2
flutter_local_notifications: ^20.0.0
timezone: ^0.10.0
# no need reexport
flutter_adaptive_scaffold: ^0.3.3+1
flutter_inset_shadow: ^2.0.3
url_launcher: ^6.2.5
path: ^1.8.0
xml: ^6.5.0
icons_launcher: ^3.0.0
image: ^4.5.3
args: ^2.6.0
path_provider: ^2.1.2
permission_handler: ^12.0.1
autostart_settings: ^0.1.4
launch_at_startup: ^0.5.1
package_info_plus: ^9.0.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^6.0.0
example: example
executables:
xly: xly
rename: rename
generate: generate
win_setup: win_setup
# XLY 的 Windows 原生插件声明。
# 其他平台保持 dart-only,仅 Windows 端提供原生实现(原生输入框覆盖,以解决语音/UIA/TSF 捕获问题)。
#
# === [TEMP-DISABLED for path override consumers] ===
# 当前 working tree 缺少 windows/ 目录里的 native 实现(在 stash@{0} 里),
# 而以 path override 方式接入本包的下游项目(如 meng_ru_ling_shi)会让 Flutter
# 把 xly 当成 native windows plugin,CMake 的 add_subdirectory(.../xly/windows)
# 找不到目录就会编译失败。临时把整段 plugin 声明注释掉,与 pub.dev 上已发布的
# dart-only 包行为一致(path override 兼容路径)。
# 恢复方式:从 stash@{0} 把 windows/ 目录 checkout 出来后,撤销本注释即可:
# git checkout "stash@{0}" -- windows/
# git checkout -- pubspec.yaml # 撤销本临时注释
# flutter:
# plugin:
# platforms:
# windows:
# # 使用 XlyPluginCApi 命名,令自动生成的 generated_plugin_registrant.cc
# # 直接命中已实现的 xly_plugin_c_api.{h,cpp}。
# pluginClass: XlyPluginCApi