Step constructor

Step({
  1. StepIdentifier? stepIdentifier,
  2. bool isOptional = false,
  3. String? buttonText = 'Next',
  4. bool canGoBack = true,
  5. bool showProgress = true,
  6. bool showAppBar = true,
})

Implementation

Step({
  StepIdentifier? stepIdentifier,
  this.isOptional = false,
  this.buttonText = 'Next',
  this.canGoBack = true,
  this.showProgress = true,
  this.showAppBar = true,
}) : stepIdentifier = stepIdentifier ?? StepIdentifier();