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 {},
Iterable<Node> c = const [],
}) =>
h(
'menuitem',
_apply([
p
], {
'checked': checked,
'command': command,
'default': default_,
'disabled': disabled,
'icon': icon,
'label': label,
'radiogroup': radiogroup,
'type': type,
'id': id,
'class': className,
'style': style
}),
[...c]);