isAtVeryFirstQuestion property

bool get isAtVeryFirstQuestion

Returns true if the current step and question indices are both at 0. This means we are at the very first question of the quiz.

Implementation

bool get isAtVeryFirstQuestion {
  assert(_currentStepIndex >= 0, '🚩 Step index should not be negative');
  assert(_currentQuestionIndex >= 0, '🚩 Question index should not be negative');
  return _currentStepIndex == 0 && _currentQuestionIndex == 0;
}