isFirstStep property

bool get isFirstStep

Returns true if the current step is the first one.

Implementation

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