CheckedPopupMenuItem<T> constructor
- Key? key,
- T? value,
- bool checked = false,
- bool enabled = true,
- EdgeInsets? padding,
- double height = kMinInteractiveDimension,
- MaterialStateProperty<
TextStyle?> ? labelTextStyle, - MouseCursor? mouseCursor,
- Widget? child,
- VoidCallback? onTap,
Creates a popup menu item with a checkmark.
By default, the menu item is enabled
but unchecked. To mark the item as
checked, set checked
to true.
Implementation
const CheckedPopupMenuItem({
super.key,
super.value,
this.checked = false,
super.enabled,
super.padding,
super.height,
super.labelTextStyle,
super.mouseCursor,
super.child,
super.onTap,
});