NiceContextMenuItem constructor

const NiceContextMenuItem({
  1. required String key,
  2. String? label,
  3. IconData? icon,
  4. VoidCallback? onTap,
  5. String? shortcut,
  6. bool disabled = false,
  7. bool danger = false,
  8. bool isDivider = false,
})

Implementation

const NiceContextMenuItem({
  required this.key,
  this.label,
  this.icon,
  this.onTap,
  this.shortcut,
  this.disabled = false,
  this.danger = false,
  this.isDivider = false,
});