diff --git a/lib/widgets/workouts/gym_mode.dart b/lib/widgets/workouts/gym_mode.dart index 40138282..0ad6e8df 100644 --- a/lib/widgets/workouts/gym_mode.dart +++ b/lib/widgets/workouts/gym_mode.dart @@ -517,17 +517,37 @@ class _LogPageState extends State { 'Plate calculator', style: Theme.of(context).textTheme.headline6, ), - Row( - mainAxisSize: MainAxisSize.max, - mainAxisAlignment: MainAxisAlignment.spaceAround, - children: [ - ...plates - .map((e) => Text( - e.toString(), - style: Theme.of(context).textTheme.headline6, - )) - .toList() - ], + Container( + height: 40, + child: plates.length > 0 + ? Row( + mainAxisSize: MainAxisSize.max, + mainAxisAlignment: MainAxisAlignment.spaceEvenly, + children: [ + ...plates + .map( + (e) => Container( + decoration: BoxDecoration( + color: Colors.orange, + shape: BoxShape.circle, + ), + child: SizedBox( + height: 35, + width: 35, + child: Align( + alignment: Alignment.center, + child: Text( + e.toString(), + style: Theme.of(context).textTheme.headline6, + ), + ), + ), + ), + ) + .toList() + ], + ) + : Text('invalid weight'), ), ], );