stepIndex property Null safety
final
Index of the step for which these controls are being built. This is not necessarily the active index, if the user has just changed steps and this step is animating away. To determine whether a given builder is building the active step or the step being navigated away from, see isActive.
Implementation
final int stepIndex;