ZetaStep constructor
- required Widget title,
- @Deprecated('Steps no longer manage their own content. ' 'Deprecated as of 0.16.1') Widget? content,
- Widget? subtitle,
- bool disabled = false,
- String? 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') 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,
});