DrawerMenuItem constructor

DrawerMenuItem({
  1. required String title,
  2. required String iconUrl,
  3. bool isVisible = true,
  4. required ValueNotifier<bool> isExpanded,
  5. bool isSelected = false,
  6. required String route,
  7. List<DrawerSubMenuMenuItem>? subCategories,
})

Implementation

DrawerMenuItem({
  required this.title,
  required this.iconUrl,
  this.isVisible = true,
  required this.isExpanded,
  this.isSelected = false,
  required this.route,
  this.subCategories,
});