destinations property

List<NavigationDestination> destinations
final

The destinations to be used in navigation items. These are converted to NavigationRailDestinations and BottomNavigationBarItems and inserted into the appropriate places. If passing destinations, you must also pass a selected index to be used by the NavigationRail.

Implementation

final List<NavigationDestination> destinations;