更新睡眠报告散点图

This commit is contained in:
wyf
2025-08-22 10:17:55 +08:00
parent f21f75d5e4
commit c432212870
8 changed files with 82 additions and 65 deletions

View File

@@ -152,6 +152,16 @@ class _SleepDataModuleWidgetState extends State<SleepDataModuleWidget> {
),
],
),
Text(
(widget.data['range']?.toString().trim().isNotEmpty ??
false)
? "参考范围".tr + "" + widget.data['range'].toString()
: "参考范围".tr + "" + "未知数据".tr,
style: TextStyle(
color: stringToColor("#C8CBD2"),
fontSize: 26.rpx,
),
),
SizedBox(
height: 81.rpx,
),