Fix cycle box ui in cycle result

This commit is contained in:
hanie.khodkari
2025-04-28 20:07:05 +03:30
parent 3341167cec
commit 8cc70f9934
+24 -15
View File
@@ -58,21 +58,10 @@ class CycleItemBox extends StatelessWidget {
Container( Container(
width: 30 * _deviceBlockSize, width: 30 * _deviceBlockSize,
child: Text( child: Text(
'Label Included:', item!.id,
style: TextStyle( style: TextStyle(
fontSize: 3 * _deviceBlockSize, fontWeight: FontWeight.w400,
color: Colors.grey, fontSize: 5 * _deviceBlockSize,
),
),
),
Container(
width: 40 * _deviceBlockSize,
child: Text(
labels!,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontWeight: FontWeight.w700,
fontSize: 3 * _deviceBlockSize,
), ),
), ),
), ),
@@ -81,7 +70,27 @@ class CycleItemBox extends StatelessWidget {
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Text( 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: <Widget>[
Text(
'date:',
style: TextStyle( style: TextStyle(
color: Colors.grey, color: Colors.grey,
fontSize: 3 * _deviceBlockSize, fontSize: 3 * _deviceBlockSize,