feat(profile): fix pickers

This commit is contained in:
mso7nueh
2024-09-04 13:03:57 +03:00
parent 0316ea9228
commit d76f535663
5 changed files with 70 additions and 87 deletions

View File

@@ -22,22 +22,22 @@ class ImtChartWidget extends StatelessWidget {
child: Row(
children: [
Text(
'${chartPoints.last.bmi.toStringAsFixed(2)} кг/м²',
'${chartPoints.last.bmi.toStringAsFixed(2)}',
style: TextStyle(
color: Colors.black,
fontSize: 48,
fontSize: 40,
fontWeight: FontWeight.w500,
),
),
chartPoints.last.bmi > chartPoints[chartPoints.length - 2].bmi
? Icon(
Icons.arrow_drop_up,
size: 48,
size: 40,
color: Colors.grey,
)
: Icon(
Icons.arrow_drop_down,
size: 48,
size: 40,
color: Colors.grey,
),
],