menuitem function
Node
menuitem(
{
- dynamic command,
})
Implementation
Node menuitem(
{bool? checked,
command,
bool? default_,
bool? disabled,
String? icon,
String? label,
String? radiogroup,
String? type,
String? id,
className,
style,
Map<String, dynamic> p = const {},
@deprecated Map<String, dynamic> props = const {},
Iterable<Node> c = const [],
@deprecated Iterable<Node> children = const []}) =>
h(
'menuitem',
_apply([
p,
props
], {
'checked': checked,
'command': command,
'default': default_,
'disabled': disabled,
'icon': icon,
'label': label,
'radiogroup': radiogroup,
'type': type,
'id': id,
'class': className,
'style': style
}),
[...c, ...children]);