next method

void next()

Completes current active showcase and starts next one otherwise will finish the entire showcase view

Implementation

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

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