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 # 用于扫描二维码