|
@@ -59,13 +59,26 @@ class ExerciseIndicator extends StatelessWidget {
|
|
|
return Column(
|
|
return Column(
|
|
|
children: [
|
|
children: [
|
|
|
Text(
|
|
Text(
|
|
|
- "${repCounter % exercise.repetitions}/${exercise.repetitions}",
|
|
|
|
|
|
|
+ "Reps: ${repCounter % exercise.repetitions}/${exercise.repetitions}",
|
|
|
style: const TextStyle(fontSize: 40),
|
|
style: const TextStyle(fontSize: 40),
|
|
|
),
|
|
),
|
|
|
Text(
|
|
Text(
|
|
|
- "${repCounter ~/ exercise.repetitions}/${exercise.sets}",
|
|
|
|
|
|
|
+ "Sets: ${repCounter ~/ exercise.repetitions}/${exercise.sets}",
|
|
|
style: const TextStyle(fontSize: 40),
|
|
style: const TextStyle(fontSize: 40),
|
|
|
),
|
|
),
|
|
|
|
|
+ const SizedBox(height: 10),
|
|
|
|
|
+ ElevatedButton(
|
|
|
|
|
+ onPressed: () => Navigator.pop(context),
|
|
|
|
|
+ style: ElevatedButton.styleFrom(
|
|
|
|
|
+ padding: const EdgeInsets.symmetric(vertical: 16, horizontal: 32),
|
|
|
|
|
+ ),
|
|
|
|
|
+ child: const Text("BACK",
|
|
|
|
|
+ style: TextStyle(
|
|
|
|
|
+ fontSize: 20,
|
|
|
|
|
+ fontWeight: FontWeight.bold,
|
|
|
|
|
+ letterSpacing: 1.3,
|
|
|
|
|
+ )),
|
|
|
|
|
+ )
|
|
|
],
|
|
],
|
|
|
);
|
|
);
|
|
|
},
|
|
},
|