CustomPopupMenuItem<T> constructor
const
CustomPopupMenuItem<T> ({})
Creates an item for a popup menu.
By default, the item is enabled
.
The enabled
and height
arguments must not be null.
Implementation
const CustomPopupMenuItem({
Key? key,
this.value,
this.enabled = true,
this.height = kMinInteractiveDimension,
this.textStyle,
required this.child,
}) : super(key: key);