YaruMultiSelectPopupMenuItem<T> constructor
const
YaruMultiSelectPopupMenuItem<T> ({
- Key? key,
- T? value,
- bool checked = false,
- bool enabled = true,
- EdgeInsets? padding = EdgeInsets.zero,
- double height = kMinInteractiveDimension,
- MouseCursor? mouseCursor,
- Widget? child,
- ValueChanged<
bool> ? onChanged,
Creates a popup menu item with a checkmark that does not close on tap.
By default, the menu item is enabled but unchecked. To mark the item as checked, set checked to true.
The checked
and enabled
arguments must not be null.
Implementation
const YaruMultiSelectPopupMenuItem({
super.key,
super.value,
this.checked = false,
super.enabled,
super.padding = EdgeInsets.zero,
super.height,
super.mouseCursor,
super.child,
this.onChanged,
});