TContextMenuItem constructor

const TContextMenuItem({
  1. required String text,
  2. dynamic icon,
  3. String? shortcut,
  4. bool isDestructive = false,
  5. bool isEnabled = true,
  6. VoidCallback? onTap,
})

Implementation

const TContextMenuItem({
  required this.text,
  this.icon,
  this.shortcut,
  this.isDestructive = false,
  this.isEnabled = true,
  this.onTap,
});