showScheduleExerciseDialog function
Shows a standalone dialog for scheduling an exercise
Implementation
Future<bool?> showScheduleExerciseDialog({
required BuildContext context,
required int deviceId,
required Widget title,
bool showLegacyExerciseRecommendations = false,
bool showEcoExerciseRecommendations = false,
bool showCancelButton = false,
Widget? submitLabel,
}) {
return _showRemoteExerciseDialog(
context: context,
deviceId: deviceId,
initialPage: StandaloneScheduleExercisePage(
title: title,
showLegacyExerciseRecommendations: showLegacyExerciseRecommendations,
showEcoExerciseRecommendations: showEcoExerciseRecommendations,
showCancelButton: showCancelButton,
submitLabel: submitLabel,
),
);
}