showByQuestionProgress property

bool get showByQuestionProgress

Implementation

bool get showByQuestionProgress {
  //not available in step_by_step mode
  if (quiz.steppingModeType == QuizSteppingModeTypes.step_by_step) {
    return false;
  }

  if (quiz.getAllStepsAnswerableQuestions().length <= 1) {
    return false;
  }

  if ('by_question' == quiz.stepperDisplayMode) {
    return true;
  }

  return false;
}