onIndexChanged property
A callback that is triggered whenever the selected index changes. This allows external state management for the navigation bar. Default: null
Implementation
final Function(int)? onIndexChanged;
A callback that is triggered whenever the selected index changes. This allows external state management for the navigation bar. Default: null
final Function(int)? onIndexChanged;