nextPage method

Future<void> nextPage()

Implementation

Future<void> nextPage() async {
  if (_isLoading) return;

  if (_currentIndex + 1 <= widget.steps.length - 1) {
    await _handleNextStep();
  } else {
    await _handleCompletion();
  }
}