feat: 产品更名「时序图设计器」+ 亮色图标 + 工具栏适配 1920x1080 + 对话框等比缩放 + 默认周期 3.6s

- 产品名:时序图设计器 Sequence Diagram Studio(窗口标题/帮助关于/README/RC/素材同步)
- 图标改为亮色渐变+白色时钟,深色任务栏下清晰可见
- 工具栏新增紧凑布局(图标化/导出菜单),1920x1080 及 150% 缩放(1280 逻辑宽)下完整显示
- 对话框以 1920x1080 为基准等比放大(<=1.75x),更小窗口不缩小
- 默认循环周期 2400ms -> 3600ms(3.6s = 360°)
- 重新构建 dist
This commit is contained in:
呆头鹅
2026-09-18 17:14:27 +08:00
parent 550cebc172
commit 89cc3189cc
18 changed files with 248 additions and 163 deletions
+3 -3
View File
@@ -67,7 +67,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
/// 原生窗口标题通道(在 Windows runner 中实现 SetWindowText)。
static const MethodChannel _windowChannel = MethodChannel('seqstudio/window');
/// 更新原生窗口标题为「时序图工作台 - <文件名 | 未命名文件>」,
/// 更新原生窗口标题为「时序图设计器 - <文件名 | 未命名文件>」,
/// 有未保存修改时追加 ` *`。
void _updateWindowTitle() {
final String name = _controller.filePath == null
@@ -75,7 +75,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
: _controller.filePath!.split(RegExp(r'[\\/]')).last;
final String dirty = _controller.dirty ? ' *' : '';
_windowChannel
.invokeMethod<void>('setTitle', '时序图工作台 - $name$dirty')
.invokeMethod<void>('setTitle', '时序图设计器 - $name$dirty')
.catchError((Object _) {});
}
@@ -150,7 +150,7 @@ class _SequenceDiagramAppState extends State<SequenceDiagramApp> {
builder: (BuildContext context, Widget? child) {
final Tokens tokens = Tokens.of(_controller.brightness);
return MaterialApp(
title: '时序图工作台 · Sequence Diagram Studio',
title: '时序图设计器 · Sequence Diagram Studio',
debugShowCheckedModeBanner: false,
theme: buildTheme(tokens),
home: AppShell(controller: _controller),