getNavigationDestination method

  1. @override
NavigationDestination getNavigationDestination(
  1. BuildContext context
)
override

Implementation

@override
NavigationDestination getNavigationDestination(BuildContext context) {
  return NavigationDestination(
    tooltip: '',
    icon: Icon(icon),
    label: labelSelector(AppLocalizations.of(context)!),
    selectedIcon: Icon(selectedIcon),
  );
}