handleNextModeStepByStep method

Future<void> handleNextModeStepByStep()

// MODE STEP BY STEP

Implementation

Future<void> handleNextModeStepByStep() async {
  assert(quiz.steppingModeType == QuizSteppingModeTypes.step_by_step);
  bool isGoingToPrevious = false;
  assert(isGoingToPrevious == false);

  if (!_isFormValidable()) return;
  if (!mounted) return;
  String newStatus = getUpdatedStatus(isGoingToPrevious: isGoingToPrevious);
  _beforeStepChange();
  quiz.handleNextStep();
  await _onStepChanged(newStatus: newStatus);
  _redrawListOfQuestions();
  _resetScrollToTopUnanimated();
}