isActive property

bool isActive

True if the indicated step is also the current active step. If the user has just activated the transition to a new step, some Stepper.type values will lead to both steps being rendered for the duration of the animation shifting between steps.

Implementation

bool get isActive => currentStep == stepIndex;