destinations property Null safety

List<Widget> destinations

The list of destinations (usually NavigationDestinations) in this NavigationBar.

When selectedIndex is updated, the destination from this list at selectedIndex will animate from 0 (unselected) to 1.0 (selected). When the animation is increasing or completed, the destination is considered selected, when the animation is decreasing or dismissed, the destination is considered unselected.


final List<Widget> destinations;