MenuItemWidget constructor

const MenuItemWidget({
  1. dynamic key,
  2. dynamic innerKey,
  3. dynamic iconData,
  4. dynamic iconColor,
  5. dynamic trailing,
  6. required String title,
  7. dynamic visualDensity,
  8. dynamic titleStyles,
  9. String? subTitle,
  10. dynamic onTap,
  11. bool enabled = true,
  12. bool withMenu = true,
})

Implementation

const MenuItemWidget({
  super.key,
  this.innerKey,
  this.iconData,
  this.iconColor,
  this.trailing,
  required this.title,
  this.visualDensity,
  this.titleStyles,
  this.subTitle,
  this.onTap,
  this.enabled = true,
  this.withMenu = true,
});