onSelected property

ValueChanged<int>? onSelected
final

Callback invoked when a navigation item is selected.

Called with the index of the selected item. Use this to update the selection state and handle navigation actions.

Implementation

final ValueChanged<int>? onSelected;