onSegmentSelected property
A callback that is invoked when a new segment is tapped and selected.
The callback receives the index of the newly selected segment.
Implementation
final ValueChanged<int>? onSegmentSelected;
A callback that is invoked when a new segment is tapped and selected.
The callback receives the index of the newly selected segment.
final ValueChanged<int>? onSegmentSelected;