mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-02 18:19:25 +01:00
Increase size of exercise image in overview
This commit is contained in:
@@ -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,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user