diff --git a/lib/pages/sleep_report/component/WeekDataWidget.dart b/lib/pages/sleep_report/component/WeekDataWidget.dart index 5ad86b9..7c6b5ff 100644 --- a/lib/pages/sleep_report/component/WeekDataWidget.dart +++ b/lib/pages/sleep_report/component/WeekDataWidget.dart @@ -132,22 +132,23 @@ Widget WeekDataWidget( return [ Text( item['name']?.toString() ?? '-', - style: TextStyle(color: Color(0xFFFFFFFF), fontSize: 26.rpx), + style: TextStyle( + color: Color(0xFFFFFFFF), fontSize: 26.rpx, height: 1), ), Text( item['lastCurr']?.toString() ?? '-', - style: TextStyle(color: Color(0xFFFFFFFF), fontSize: 26.rpx), + style: TextStyle( + color: Color(0xFFFFFFFF), fontSize: 26.rpx, height: 1), ), Text( item['curr']?.toString() ?? '-', style: TextStyle( - color: item["currColor"] ?? Color(0xFFFFFFFF), - fontSize: 26.rpx, - ), + color: Color(0xFFFFFFFF), fontSize: 26.rpx, height: 1), ), Text( item['range']?.toString() ?? '-', - style: TextStyle(color: Color(0xFFFFFFFF), fontSize: 26.rpx), + style: TextStyle( + color: Color(0xFFFFFFFF), fontSize: 26.rpx, height: 1), ), ]; }).toList(),