isLastStep property

bool get isLastStep

Whether the current step is the final step.

Implementation

bool get isLastStep => _stepCount == 0 || _currentIndex >= _stepCount - 1;