MongolPopupMenuItem<T> constructor

const MongolPopupMenuItem<T>({
  1. Key? key,
  2. T? value,
  3. VoidCallback? onTap,
  4. bool enabled = true,
  5. double width = kMinInteractiveDimension,
  6. EdgeInsets? padding,
  7. TextStyle? textStyle,
  8. MouseCursor? mouseCursor,
  9. required Widget? child,
})

Creates an item for a popup menu.

By default, the item is enabled.

The enabled and width arguments must not be null.

Implementation

const MongolPopupMenuItem({
  Key? key,
  this.value,
  this.onTap,
  this.enabled = true,
  this.width = kMinInteractiveDimension,
  this.padding,
  this.textStyle,
  this.mouseCursor,
  required this.child,
}) : super(key: key);