fix: 适配 Flutter 3.47 的 IconButton API;版本号升级 V1.0.4

- _iconBtn 的 tapTargetSize 改由 IconButton.styleFrom 提供(新 SDK 已移除该形参)
- 版本号 1.0.2+4 → 1.0.4+5(pubspec / 关于页 / README / BUILD-NOTES)
- 安卓发布产物命名去 tablet:sequence_diagram_android_v1.0.4_release.apk
This commit is contained in:
2026-10-08 12:01:05 +08:00
parent dafb0b4ba8
commit 3909f86dd1
5 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -809,7 +809,8 @@ class _AppShellState extends State<AppShell> {
splashRadius: 16 * s,
padding: EdgeInsets.zero,
constraints: BoxConstraints(minWidth: 34 * s, minHeight: 34 * s),
tapTargetSize: s < 1 ? MaterialTapTargetSize.shrinkWrap : null,
// 新版 Flutter 的 IconButton 已移除 tapTargetSize 形参,改由 style 提供。
style: IconButton.styleFrom(tapTargetSize: s < 1 ? MaterialTapTargetSize.shrinkWrap : null),
);
}
+1 -1
View File
@@ -2124,7 +2124,7 @@ class HelpDialog extends StatelessWidget {
Text('时序图设计器 · Sequence Diagram Studio',
style: TextStyle(color: t.text, fontSize: 15, fontWeight: FontWeight.w700)),
const SizedBox(height: 4),
Text('V1.0.2(${android ? '安卓版' : 'Windows 版'})',
Text('V1.0.4(${android ? '安卓版' : 'Windows 版'})',
style: TextStyle(color: t.dim, fontSize: 12)),
],
),