buildDestinations method

List<NavDestination> buildDestinations(
  1. BuildContext context
)

Builds and returns a list of navigation destinations.

Implementation

List<NavDestination> buildDestinations(BuildContext context) {
  return <NavDestination>[
    NavDestination(
      messages,
      messagesIcon,
      messagesSelectedIcon,
    ),
    NavDestination(
      settings,
      settingsIcon,
      settingsSelectedIcon,
    ),
  ];
}