selected property

Set<T> selected
final

The set of ButtonSegment.values that indicate which segments are selected.

As the SegmentedButton does not maintain the state of the selection, you will need to update this in response to onSelectionChanged calls.

This is a required parameter.

Implementation

final Set<T> selected;