版本号

This commit is contained in:
dzc committed 2026-09-23 18:45:57 +08:00
1 parent 6a9dbf9080
commit 7897e77c52
7 files changed
+95 -4

No files matched your search

+10
View File
@@ -3,6 +3,8 @@ import 'dart:io';
import 'package:flutter/material.dart';
import '../build_info.g.dart';
import '../agent.dart';
import '../server/protocol.dart';
import '../utils/file_log.dart';
@@ -121,6 +123,14 @@ class _CardPrinterPageState extends State<CardPrinterPage> {
.bodyMedium
?.copyWith(color: scheme.onSurfaceVariant),
),
const SizedBox(height: 2),
Text(
'版本 $kBuildVersion',
style: Theme.of(context)
.textTheme
.labelSmall
?.copyWith(color: scheme.onSurfaceVariant.withValues(alpha: 0.7)),
),
],
),
),