Skip to content

Commit e6ea4e6

Browse files
committed
Remove unused code
1 parent 840bcaf commit e6ea4e6

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

lib/widgets/exercises/list_tile.dart

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -62,67 +62,6 @@ class ExerciseListTile extends StatelessWidget {
6262
onTap: () {
6363
Navigator.pushNamed(context, ExerciseDetailScreen.routeName, arguments: exerciseBase);
6464
},
65-
/*
66-
trailing: Container(
67-
padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 7),
68-
decoration: BoxDecoration(
69-
color: theme.primaryColorLight.withOpacity(0.15),
70-
border: Border.all(color: Colors.grey[300]!),
71-
borderRadius: BorderRadius.circular(5),
72-
),
73-
child: Text(
74-
exercise.category.name,
75-
),
76-
),
77-
78-
*/
7965
);
80-
81-
/*
82-
return Row(
83-
children: [
84-
Padding(
85-
padding: const EdgeInsets.all(8.0),
86-
child: Container(
87-
width: size.width * 0.2,
88-
child: Center(
89-
child: ExerciseImageWidget(
90-
image: exercise.getMainImage,
91-
),
92-
),
93-
),
94-
),
95-
Expanded(
96-
child: Column(
97-
mainAxisAlignment: MainAxisAlignment.center,
98-
crossAxisAlignment: CrossAxisAlignment.start,
99-
children: [
100-
Container(
101-
padding: const EdgeInsets.symmetric(horizontal: 14, vertical: 7),
102-
decoration: BoxDecoration(
103-
color: theme.primaryColorLight.withOpacity(0.15),
104-
border: Border.all(color: Colors.grey[300]!),
105-
borderRadius: BorderRadius.circular(5),
106-
),
107-
child: Text(
108-
exercise.category.name,
109-
),
110-
),
111-
Text(
112-
exercise.name,
113-
style: theme.textTheme.headline6,
114-
overflow: TextOverflow.ellipsis,
115-
maxLines: 2,
116-
),
117-
Text(
118-
exercise.equipment.map((equipment) => equipment.name).join(", "),
119-
)
120-
],
121-
),
122-
)
123-
],
124-
);
125-
126-
*/
12766
}
12867
}

0 commit comments

Comments
 (0)