MenuItemAction constructor

const MenuItemAction({
  1. required String label,
  2. Widget? icon,
  3. String? description,
  4. String? shortcut,
  5. bool disabled = false,
  6. bool destructive = false,
  7. void onSelect()?,
  8. String? href,
})

Implementation

const MenuItemAction({
  required this.label,
  this.icon,
  this.description,
  this.shortcut,
  this.disabled = false,
  this.destructive = false,
  this.onSelect,
  this.href,
});