ZetaMenuItem.horizontal constructor

const ZetaMenuItem.horizontal({
  1. Key? key,
  2. bool? rounded,
  3. required Widget label,
  4. VoidCallback? onTap,
  5. Widget? leading,
  6. Widget? trailing,
})

Creates horizontal menu item

Implementation

const ZetaMenuItem.horizontal({
  super.key,
  super.rounded,
  required this.label,
  this.onTap,
  this.leading,
  this.trailing,
}) : type = ZetaMenuItemType.horizontal;