From 7065cc9d6d114bde9e4a7376e398d049e32c7883 Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Wed, 4 Mar 2026 10:42:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=BA=E5=99=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/presentation/pages/running_status_page.dart | 4 ++-- pubspec.lock | 8 ++++++++ pubspec.yaml | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/features/home/presentation/pages/running_status_page.dart b/lib/features/home/presentation/pages/running_status_page.dart index a8f4d0a8..7216d8ed 100644 --- a/lib/features/home/presentation/pages/running_status_page.dart +++ b/lib/features/home/presentation/pages/running_status_page.dart @@ -229,8 +229,8 @@ class _RunningStatusPageState extends State { TableRow( children: [ _buildTableCell("测量速度\n(rpm)"), - _buildTableCell(status.leftTargetSpeed.toStringAsFixed(2)), - _buildTableCell(status.rightTargetSpeed.toStringAsFixed(2)), + _buildTableCell(status.leftMeasureSpeed.toStringAsFixed(2)), + _buildTableCell(status.rightMeasureSpeed.toStringAsFixed(2)), ], ), TableRow( diff --git a/pubspec.lock b/pubspec.lock index 6d50973f..55096722 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -344,6 +344,14 @@ packages: url: "https://pub.flutter-io.cn" source: hosted version: "1.1.1" + fl_chart: + dependency: "direct main" + description: + name: fl_chart + sha256: d0f0d49112f2f4b192481c16d05b6418bd7820e021e265a3c22db98acf7ed7fb + url: "https://pub.flutter-io.cn" + source: hosted + version: "0.68.0" flutter: dependency: "direct main" description: flutter diff --git a/pubspec.yaml b/pubspec.yaml index 0c7a5fdb..69804f80 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -117,6 +117,8 @@ dependencies: # 高德地图需要的权限 permission_handler: ^12.0.1 + # 图表 + fl_chart: ^0.68.0 #qr_code_scanner: ^1.0.1 # 用于扫描二维码