onSelected property

ValueChanged<int>? onSelected
final

Called with the index of the segment that was clicked, in every mode.

Implementation

final ValueChanged<int>? onSelected;