NavigationDrawerDestination constructor

const NavigationDrawerDestination({
  1. Key? key,
  2. Color? backgroundColor,
  3. required Widget icon,
  4. Widget? selectedIcon,
  5. required Widget label,
  6. bool enabled = true,
})

Creates a navigation drawer destination.

Implementation

const NavigationDrawerDestination({
  super.key,
  this.backgroundColor,
  required this.icon,
  this.selectedIcon,
  required this.label,
  this.enabled = true,
});