MongolPopupMenuItem<T> constructor
const
MongolPopupMenuItem<T> ({
- Key? key,
- T? value,
- VoidCallback? onTap,
- bool enabled = true,
- double width = kMinInteractiveDimension,
- EdgeInsets? padding,
- TextStyle? textStyle,
- MouseCursor? mouseCursor,
- 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);