feat: 新增编辑器功能与优化

1. 添加编辑器3D场景服务接口及实现
2. 实现平台IO工具类与数据库连接
3. 新增SVG图标资源
4. 优化编辑器操作Mixin架构
5. 修复Web端兼容性问题
6. 更新依赖配置与构建脚本
7. 改进主题自适应服务
8. 添加对齐辅助线组件
9. 完善迷你文字编辑栏
10. 优化页面过渡动画
This commit is contained in:
Developer
2026-04-25 09:50:30 +08:00
parent 35202b51e8
commit a5b997aecb
204 changed files with 46378 additions and 7400 deletions

View File

@@ -1,4 +1,4 @@
/// ============================================================
/// ============================================================
/// 闲言APP — 应用布局壳
/// 创建时间: 2026-04-20
/// 更新时间: 2026-04-20
@@ -63,13 +63,10 @@ class AppShell extends StatelessWidget {
unselectedIconColor: ext.isDark
? Colors.white38
: const Color(0xFFAEAEB2), // 未选中图标: 暗白38% / 浅灰
iconSize: 24, // 图标尺寸
labelFontSize: 11, // 标签字号
barHeight: 56, // 底栏高度
barBorderRadius: 28, // 底栏圆角 (药丸形)
horizontalPadding: 16, // 水平内边距
verticalPadding: 16, // 垂直内边距
showIndicator: true, // 显示选中指示器
indicatorColor:
ext
.isDark // 指示器底色 (极淡)
@@ -82,7 +79,6 @@ class AppShell extends StatelessWidget {
refractiveIndex: 1.8, // 折射率 → 光线弯曲程度
chromaticAberration: 1.2, // 色散 → 彩虹边缘宽度
lightIntensity: 3.5, // 光照强度 → 边缘高光亮度
saturation: 1.5, // 饱和度 → 选中内容色彩浓度
ambientStrength: 1.2, // 环境光 → 整体亮度
glassColor:
ext
@@ -105,7 +101,6 @@ class AppShell extends StatelessWidget {
? const Color.from(alpha: 0.08, red: 1, green: 1, blue: 1)
: const Color.from(alpha: 0.05, red: 1, green: 1, blue: 1),
),
maskingQuality: MaskingQuality.high, // 掩膜质量: 高 (双层渲染)
magnification: 1.12, // 选中放大倍率 → 透镜感
innerBlur: 1.5, // 选中内容内模糊 → 磨砂质感
glowOpacity: 0.4, // 发光透明度 → 选中光晕