ZetaStep constructor

const ZetaStep({
  1. required Widget title,
  2. @Deprecated('Steps no longer manage their own content. ' 'Deprecated as of 0.16.1') Widget? content,
  3. Widget? subtitle,
  4. bool disabled = false,
  5. String? semanticLabel,
  6. @Deprecated('To disable a step, set its disabled prop to true. To complete a step, set the currentStep prop on the stepper greater than the step index. ' 'Deprecated as of 0.16.1') ZetaStepType type = ZetaStepType.disabled,
})

Creates a step for a ZetaStepper.

Implementation

const ZetaStep({
  required this.title,
  @Deprecated('Steps no longer manage their own content. ' 'Deprecated as of 0.16.1') this.content,
  this.subtitle,
  this.disabled = false,
  this.semanticLabel,
  @Deprecated(
      'To disable a step, set its disabled prop to true. To complete a step, set the currentStep prop on the stepper greater than the step index. '
      'Deprecated as of 0.16.1')
  this.type = ZetaStepType.disabled,
});