ZetaMenuItem constructor

const ZetaMenuItem({
  1. Key? key,
  2. bool? rounded,
  3. required ZetaMenuItemType type,
  4. required Widget label,
  5. VoidCallback? onTap,
  6. Widget? leading,
  7. 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,
});