|
|
@@ -39,27 +39,27 @@ class ExercisesPage extends StatelessWidget {
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
|
|
children: [
|
|
|
FilterChip(
|
|
|
- label: const Text("Easy", style: TextStyle(color: Colors.white, fontSize: 18)),
|
|
|
+ label: const Text("Easy", style: TextStyle(color: Colors.black, fontSize: 18)),
|
|
|
selected: true,
|
|
|
- backgroundColor: Colors.lightGreen,
|
|
|
- selectedColor: Colors.lightGreen,
|
|
|
- checkmarkColor: Colors.white,
|
|
|
+ backgroundColor: Colors.green.shade300,
|
|
|
+ selectedColor: Colors.green.shade300,
|
|
|
+ checkmarkColor: Colors.black,
|
|
|
onSelected: (_) {},
|
|
|
),
|
|
|
FilterChip(
|
|
|
- label: const Text("Normal", style: TextStyle(color: Colors.white, fontSize: 18)),
|
|
|
+ label: const Text("Normal", style: TextStyle(color: Colors.black, fontSize: 18)),
|
|
|
selected: true,
|
|
|
- backgroundColor: Colors.amber,
|
|
|
- selectedColor: Colors.amber,
|
|
|
- checkmarkColor: Colors.white,
|
|
|
+ backgroundColor: Colors.orange.shade300,
|
|
|
+ selectedColor: Colors.orange.shade300,
|
|
|
+ checkmarkColor: Colors.black,
|
|
|
onSelected: (_) {},
|
|
|
),
|
|
|
FilterChip(
|
|
|
- label: const Text("Hard", style: TextStyle(color: Colors.white, fontSize: 18)),
|
|
|
+ label: const Text("Hard", style: TextStyle(color: Colors.black, fontSize: 18)),
|
|
|
selected: true,
|
|
|
- backgroundColor: Colors.red,
|
|
|
- selectedColor: Colors.red,
|
|
|
- checkmarkColor: Colors.white,
|
|
|
+ backgroundColor: Colors.red.shade300,
|
|
|
+ selectedColor: Colors.red.shade300,
|
|
|
+ checkmarkColor: Colors.black,
|
|
|
onSelected: (_) {},
|
|
|
),
|
|
|
],
|
|
|
@@ -103,9 +103,9 @@ class ExerciseTile extends StatelessWidget {
|
|
|
}) : super(key: key);
|
|
|
|
|
|
Color get cardColor {
|
|
|
- if (exercise.difficulty == 0) return Colors.lightGreen;
|
|
|
- if (exercise.difficulty == 1) return Colors.amber;
|
|
|
- if (exercise.difficulty == 2) return Colors.red;
|
|
|
+ if (exercise.difficulty == 0) return Colors.green.shade300;
|
|
|
+ if (exercise.difficulty == 1) return Colors.orange.shade300;
|
|
|
+ if (exercise.difficulty == 2) return Colors.red.shade300;
|
|
|
return Colors.blueGrey;
|
|
|
}
|
|
|
|
|
|
@@ -116,8 +116,8 @@ class ExerciseTile extends StatelessWidget {
|
|
|
color: cardColor,
|
|
|
elevation: 3,
|
|
|
child: ListTile(
|
|
|
- iconColor: Colors.white,
|
|
|
- textColor: Colors.white,
|
|
|
+ iconColor: Colors.black,
|
|
|
+ textColor: Colors.black,
|
|
|
title: Text(
|
|
|
exercise.name.toUpperCase(),
|
|
|
textAlign: TextAlign.center,
|
|
|
@@ -153,11 +153,11 @@ class WalkExerciseTile extends StatelessWidget {
|
|
|
Widget build(BuildContext context) {
|
|
|
return Center(
|
|
|
child: Card(
|
|
|
- color: Colors.lightGreen,
|
|
|
+ color: Colors.green.shade300,
|
|
|
elevation: 3,
|
|
|
child: ListTile(
|
|
|
- iconColor: Colors.white,
|
|
|
- textColor: Colors.white,
|
|
|
+ iconColor: Colors.black,
|
|
|
+ textColor: Colors.black,
|
|
|
title: Text(
|
|
|
"walk".toUpperCase(),
|
|
|
textAlign: TextAlign.center,
|