ZetaMenuItem constructor
- Key? key,
- bool? rounded,
- required ZetaMenuItemType type,
- required Widget label,
- VoidCallback? onTap,
- Widget? leading,
- Widget? trailing,
Constructor for the component ZetaMenuItem.
Typically, ZetaMenuItem.horizontal or ZetaMenuItem.vertical constructors should be used.
Implementation
const ZetaMenuItem({
super.key,
super.rounded,
required this.type,
required this.label,
this.onTap,
this.leading,
this.trailing,
});