TUIMenuItem constructor

const TUIMenuItem({
  1. Key? key,
  2. required TUIMenuItemProperties item,
  3. bool backgroundDark = false,
  4. dynamic onLeftTap(
    1. TUIMenuItemState
    )?,
  5. dynamic onRightTap(
    1. TUIMenuItemState
    )?,
  6. dynamic action(
    1. TUIMenuItemState
    )?,
})

Implementation

const TUIMenuItem({
  super.key,
  required this.item,
  this.backgroundDark = false,
  this.onLeftTap,
  this.onRightTap,
  this.action,
});