ghini library
Classes
- GhiniPageHolder
- 页面占位符(用于演示不同页面切换)
- GhiniTheme
- 已调配设置好的主题
- PCLayout0
- 当前的核心布局,未来会拓展到PC+移动兼容
Properties
- devlogLevel ↔ int
-
getter/setter pair
Functions
-
clearSystemProxy(
) → Future< void> - 关闭Windows系统代理
-
colorAdjust(
Color color, double lightnessRate, [Color? mixTarget, double mixRate = 0.3]) → Color -
颜色调整:初始颜色,调亮比例,
混合颜色,混合度 -
devlog(
dynamic msg, [int lv = 0]) → void - package中调试使用 lv>=99强制显示
-
extractAsset(
String assetPath, {String? rename, bool update = false}) → Future< String> - 从 assets 解压文件 (增强版)
-
killByName(
String targetName) → Future< bool> - 强力清理旧进程
-
pcInit(
) → Future< void> - PC端的初始化
-
setSystemProxy(
int port) → Future< void> - 设置Windows系统代理
-
xlog(
dynamic msg) → void - 给外部调用快速定位log所在位置