ZetaMenuItem.vertical constructor

const ZetaMenuItem.vertical({
  1. Key? key,
  2. bool? rounded,
  3. required Widget label,
  4. Widget? icon,
  5. VoidCallback? onTap,
})

Creates horizontal menu item

Implementation

const ZetaMenuItem.vertical({
  super.key,
  super.rounded,
  required this.label,
  Widget? icon,
  this.onTap,
})  : type = ZetaMenuItemType.vertical,
      leading = icon,
      trailing = null;