destinations property

List<Widget> destinations
final

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.

Implementation

final List<Widget> destinations;