TContextMenuItem constructor
const
TContextMenuItem({
- required String text,
- dynamic icon,
- String? shortcut,
- bool isDestructive = false,
- bool isEnabled = true,
- VoidCallback? onTap,
Implementation
const TContextMenuItem({
required this.text,
this.icon,
this.shortcut,
this.isDestructive = false,
this.isEnabled = true,
this.onTap,
});