selectedIndex property Null safety
final
Determines which one of the destinations is currently selected.
When this is updated, the destination (from destinations) at selectedIndex goes from unselected to selected.
Implementation
final int selectedIndex;