option function
Node
option(
{ - bool? disabled,
- String? label,
- bool? selected,
- String? value,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- Iterable<Node> c = const [],
})
Implementation
Node option({
bool? disabled,
String? label,
bool? selected,
String? value,
String? id,
className,
style,
Map<String, dynamic> p = const {},
Iterable<Node> c = const [],
}) =>
h(
'option',
_apply([
p
], {
'disabled': disabled,
'label': label,
'selected': selected,
'value': value,
'id': id,
'class': className,
'style': style
}),
[...c]);