activeStep property

StepDirective? get activeStep

Get the step directive that is currently active. The stepper will only have 1 step active at a time.

Implementation

StepDirective? get activeStep =>
    steps.isNotEmpty ? steps[activeStepIndex] : null;