activeIndex property

int activeIndex
final

Active index - till which index the stepper will be highlighted

Note : When using the iconWidget from StepperData to pass your custom dotWidget, you need to pass the dotWidget decoration to make it look active. In the above case only the stepper bar color will change to activeBarColor

Implementation

final int activeIndex;