TUIMenuItem constructor
const
TUIMenuItem({
- Key? key,
- required TUIMenuItemProperties item,
- bool backgroundDark = false,
- dynamic onLeftTap()?,
- dynamic onRightTap()?,
- dynamic action()?,
Implementation
const TUIMenuItem({
super.key,
required this.item,
this.backgroundDark = false,
this.onLeftTap,
this.onRightTap,
this.action,
});