onNext method
void
onNext()
Implementation
void onNext() {
if (currentIndex != widget.stepperLength - 1) {
setState(() {
currentIndex++;
});
widget.onNext?.call();
}
}
void onNext() {
if (currentIndex != widget.stepperLength - 1) {
setState(() {
currentIndex++;
});
widget.onNext?.call();
}
}