onSelectedIndexChange property
Callback function for when the index of a NavigationRail changes.
Implementation
final void Function(int)? onSelectedIndexChange;
Callback function for when the index of a NavigationRail changes.
final void Function(int)? onSelectedIndexChange;