From 8cc70f993427b1a823e516c4728ff4754e848a31 Mon Sep 17 00:00:00 2001 From: "hanie.khodkari" Date: Mon, 28 Apr 2025 20:07:05 +0330 Subject: [PATCH] Fix cycle box ui in cycle result --- lib/widgets/CycleScreens/Result/data_box.dart | 39 ++++++++++++------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/lib/widgets/CycleScreens/Result/data_box.dart b/lib/widgets/CycleScreens/Result/data_box.dart index a34e60c..8bea9c8 100755 --- a/lib/widgets/CycleScreens/Result/data_box.dart +++ b/lib/widgets/CycleScreens/Result/data_box.dart @@ -58,21 +58,10 @@ class CycleItemBox extends StatelessWidget { Container( width: 30 * _deviceBlockSize, child: Text( - 'Label Included:', + item!.id, style: TextStyle( - fontSize: 3 * _deviceBlockSize, - color: Colors.grey, - ), - ), - ), - Container( - width: 40 * _deviceBlockSize, - child: Text( - labels!, - overflow: TextOverflow.ellipsis, - style: TextStyle( - fontWeight: FontWeight.w700, - fontSize: 3 * _deviceBlockSize, + fontWeight: FontWeight.w400, + fontSize: 5 * _deviceBlockSize, ), ), ), @@ -81,7 +70,27 @@ class CycleItemBox extends StatelessWidget { child: Row( children: [ Text( - 'Date:', + 'labels: ', + style: TextStyle( + color: Colors.grey, + fontSize: 3 * _deviceBlockSize, + ), + ), + Text( + item!.label.join(','), + style: TextStyle( + fontSize: 3 * _deviceBlockSize, + ), + ), + ], + ), + ), + Container( + width: 30 * _deviceBlockSize, + child: Row( + children: [ + Text( + 'date:', style: TextStyle( color: Colors.grey, fontSize: 3 * _deviceBlockSize,