getNavigationDestination method

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

Implementation

@override
NavigationDestination getNavigationDestination(BuildContext context) {
  return NavigationDestination(
    tooltip: '',
    icon: Icon(icon),
    label: labelBuilder(context),
    selectedIcon: Icon(selectedIcon),
  );
}