Step constructor

const Step({
  1. required Widget title,
  2. Widget? subtitle,
  3. required Widget content,
  4. StepState state = StepState.indexed,
  5. bool isActive = false,
  6. Widget? label,
  7. StepStyle? stepStyle,
})

Creates a step for a Stepper.

Implementation

const Step({
  required this.title,
  this.subtitle,
  required this.content,
  this.state = StepState.indexed,
  this.isActive = false,
  this.label,
  this.stepStyle,
});