nextPage method
Implementation
Future<void> nextPage() async {
if (_isLoading) return;
if (_currentIndex + 1 <= widget.steps.length - 1) {
await _handleNextStep();
} else {
await _handleCompletion();
}
}
Future<void> nextPage() async {
if (_isLoading) return;
if (_currentIndex + 1 <= widget.steps.length - 1) {
await _handleNextStep();
} else {
await _handleCompletion();
}
}