DrawerMenuItem constructor

DrawerMenuItem({
  1. required String title,
  2. required dynamic onTap(),
  3. IconData? icon,
  4. String? subtitle,
  5. String? tooltipText,
})

Implementation

DrawerMenuItem({
  required this.title,
  required this.onTap,
  this.icon,
  this.subtitle,
  this.tooltipText,
});