Step constructor Null safety
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,
}) : assert(title != null),
assert(content != null),
assert(state != null);