Increase size of exercise image in overview

This commit is contained in:
Roland Geider
2021-11-27 00:17:19 +01:00
parent 68c3ad3ce7
commit 87940b86d4

View File

@@ -30,16 +30,21 @@ class ExerciseListTile extends StatelessWidget {
Widget build(BuildContext context) {
//final size = MediaQuery.of(context).size;
//final theme = Theme.of(context);
const double IMG_SIZE = 60;
return ListTile(
leading: CircleAvatar(
backgroundColor: const Color(0x00ffffff),
child: ClipOval(
child: SizedBox(
height: 40,
width: 40,
child: ExerciseImageWidget(
image: exercise.getMainImage,
leading: SizedBox(
height: IMG_SIZE,
width: IMG_SIZE,
child: CircleAvatar(
backgroundColor: const Color(0x00ffffff),
child: ClipOval(
child: SizedBox(
height: IMG_SIZE,
width: IMG_SIZE,
child: ExerciseImageWidget(
image: exercise.getMainImage,
),
),
),
),