next method

void next()

Implementation

void next() {
  if (ids != null && mounted) {
    setState(() {
      _onComplete();
      activeWidgetId = activeWidgetId! + 1;
      _onStart();

      if (activeWidgetId! >= ids!.length) {
        _cleanupAfterSteps();
        if (widget.onFinish != null) {
          widget.onFinish!();
        }
      }
    });
  }
}