CNPopupMenuItem constructor

const CNPopupMenuItem({
  1. required String label,
  2. CNSymbol? icon,
  3. IconData? customIcon,
  4. CNImageAsset? imageAsset,
  5. Color? iconColor,
  6. bool enabled = true,
  7. bool checked = false,
})

Creates a selectable popup menu item.

Implementation

const CNPopupMenuItem({
  required this.label,
  this.icon,
  this.customIcon,
  this.imageAsset,
  this.iconColor,
  this.enabled = true,
  this.checked = false,
});