values property
The list of values to cycle through, where each T
represents a state
(e.g., enum, int, or custom object) that determines the button's appearance
and behavior via the builder.
Must contain at least one value, and the initialValue must be present. The cycle wraps around after the last value back to the first.
Implementation
final List<T> values;