MenuItemAction constructor
const
MenuItemAction({
- required String label,
- ArcaneGlyph? icon,
- String? description,
- String? shortcut,
- bool disabled = false,
- bool destructive = false,
- void onSelect()?,
- ArcaneInteraction? action,
- String? href,
Implementation
const MenuItemAction({
required this.label,
this.icon,
this.description,
this.shortcut,
this.disabled = false,
this.destructive = false,
this.onSelect,
this.action,
this.href,
});