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:
+1
-1
@@ -127,7 +127,7 @@ flutter pub get
|
||||
flutter build apk --release # 产物:build\app\outputs\flutter-apk\app-release.apk
|
||||
```
|
||||
|
||||
- 发布包归档:`release\sequence_diagram_tablet_v1.0.2_release.apk`(universal:arm64-v8a / armeabi-v7a / x86_64)。
|
||||
- 发布包归档:`release\sequence_diagram_android_v1.0.4_release.apk`(universal:arm64-v8a / armeabi-v7a / x86_64)。
|
||||
- 上架应用商店时建议在 `android\app\build.gradle.kts` 配置正式签名后再构建 AAB:
|
||||
`flutter build appbundle --release`。
|
||||
- 应用名「时序图设计器」、包名 `cc.sincos.sequence_diagram`、launcher 图标由
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
- **深色 / 浅色双主题**:右上角 ☀ / ☾ 一键切换,语义颜色不变,导出 SVG 与屏幕一致
|
||||
- **导出 SVG**:矢量、分层、带语义 `id` / `data-*` 元数据,可直接进工艺卡与 MES
|
||||
|
||||
## 正式版 V1.0.2
|
||||
## 正式版 V1.0.4
|
||||
|
||||
**可运行的 Flutter Windows 桌面正式版**(源码在 `lib/`),设计人:呆头鹅。
|
||||
|
||||
@@ -97,7 +97,7 @@ Flutter 3.29+(Desktop) · CustomPainter 自绘 · Riverpod · 不可变模
|
||||
- **正式签名**:release 用独立 keystore 签名(`android/key/release.jks`,见 `BUILD-NOTES.md`),更新安装无需卸载重装;
|
||||
- **构建**:JDK 17 + Android SDK 36(详见 `BUILD-NOTES.md`),Gradle 与 Maven 已配置国内镜像:
|
||||
```bash
|
||||
flutter build apk --release # 产物 → release/sequence_diagram_tablet_v1.0.2_release.apk
|
||||
flutter build apk --release # 产物 → release/sequence_diagram_android_v1.0.4_release.apk
|
||||
```
|
||||
- **自测**:`test/tablet_layout_test.dart` 覆盖 1280×800、2560×1600、960×600、800×480、竖屏 800×1280、600×960 等 7 种分辨率的无溢出回归;
|
||||
- **demo 图**:`demo/tablet-*.png`(由 `test/tablet_screenshots_test.dart` 生成)。
|
||||
@@ -113,6 +113,6 @@ Flutter 3.29+(Desktop) · CustomPainter 自绘 · Riverpod · 不可变模
|
||||
|
||||
- **软件**:时序图设计器 · Sequence Diagram Studio
|
||||
- **设计人**:呆头鹅
|
||||
- **版本**:V1.0.2
|
||||
- **版本**:V1.0.4
|
||||
- **版权**:Copyright © 2026 呆头鹅。保留所有权利。
|
||||
- **架构文档**:[`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) · **使用帮助**:[`docs/HELP.md`](docs/HELP.md)
|
||||
|
||||
@@ -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
@@ -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)),
|
||||
],
|
||||
),
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.0.2+4
|
||||
version: 1.0.4+5
|
||||
|
||||
environment:
|
||||
sdk: ^3.13.3
|
||||
|
||||
Reference in New Issue
Block a user