previous method

void previous()

Implementation

void previous() {
  if (ids != null && ((activeWidgetId ?? 0) - 1) >= 0 && mounted) {
    setState(() {
      _onComplete();
      activeWidgetId = activeWidgetId! - 1;
      _onStart();
      if (activeWidgetId! >= ids!.length) {
        _cleanupAfterSteps();
        if (widget.onFinish != null) {
          widget.onFinish!();
        }
      }
    });
  }
}