refactor(home): 优化运行状态监控界面布局和参数显示

- 将程序名文本包装在Flexible组件中并添加省略号处理
- 为步骤信息添加Flexible组件以改善布局
- 使用ScrollableVIew包装内容以支持滚动
- 重构步骤参数显示为三列布局
- 移除硬编码的温度和磁力时间参数
- 更新速度、持续时间和样品体积的单位显示
- 从状态栏移除设备名称显示
- 从设置菜单移除USB导入功能选项
This commit is contained in:
Developer
2026-06-04 17:47:12 +08:00
parent 736c36a98e
commit 87c4b669a0
3 changed files with 87 additions and 130 deletions

View File

@@ -95,21 +95,7 @@ class _StatusBarState extends ConsumerState<StatusBar> {
),
child: Row(
children: [
Row(
mainAxisSize: MainAxisSize.min,
children: [
const Icon(Icons.precision_manufacturing, color: Colors.white, size: 22),
const SizedBox(width: 10),
Text(
l10n?.deviceName ?? '污水毒品前处理一体机',
style: const TextStyle(
color: Colors.white,
fontSize: 17,
fontWeight: FontWeight.w700,
),
),
],
),
const Icon(Icons.precision_manufacturing, color: Colors.white, size: 22),
if (widget.tabs.isNotEmpty) ...[
const SizedBox(width: 32),
_buildNavTabs(),