$option function
Creates an option
node.
Implementation
OPTIONElement $option(
{Object? classes,
Object? style,
Map<String, String>? attributes,
Object? value,
String? label,
bool? selected,
bool disabled = false,
Object? text,
Object? valueAndText}) {
return OPTIONElement(
classes: classes,
style: style,
attributes: attributes,
value: value ?? valueAndText,
label: label,
selected: selected,
disabled: disabled,
text: DOMNode.toText(text ?? valueAndText));
}