next method
void
next()
Advances to the next onboarding step, or finishes if on the last step.
Implementation
void next() {
if (_currentIndex < steps.length - 1) {
_tooltipPath = null;
_currentIndex++;
_log('next() -> index ${_currentIndex}');
_onStepChanged?.call(_currentIndex);
_rebuildTooltip();
} else {
finish();
}
}