initialValue property

T initialValue
final

The starting value in the values list when the CycleButton is first built.

Determines the initial widget shown via builder. If the values list changes and this value is no longer present, the button resets to this initial value to maintain valid state.

Implementation

final T initialValue;