option function
Node
option(
{ - bool? disabled,
- String? label,
- bool? selected,
- String? value,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- @deprecated Map<String, dynamic> props = const {},
- Iterable<Node> c = const [],
- @deprecated Iterable<Node> children = const [],
})
Implementation
Node option(
{bool? disabled,
String? label,
bool? selected,
String? value,
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(
'option',
_apply([
p,
props
], {
'disabled': disabled,
'label': label,
'selected': selected,
'value': value,
'id': id,
'class': className,
'style': style
}),
[...c, ...children]);