currentVisibleStep property
int
get
currentVisibleStep
Gets the current visible step number (1-indexed).
Implementation
int get currentVisibleStep {
int visible = 0;
for (int i = 0; i <= _currentStepIndex && i < _flattenedSteps.length; i++) {
if (!_flattenedSteps[i].shouldSkip(_answers)) {
visible++;
}
}
return visible;
}