next method
void
next()
Advances to the next step, or ends the sequence if the current step was the last one.
Implementation
void next() {
if (!isActive) return;
_logDismissed();
if (_index + 1 >= _steps.length) {
_endSequence();
return;
}
_index++;
notifyListeners();
_logShown();
}