option constructor
const
option(})
The <option> HTML element is used to define an item contained in a <select>, an <optgroup>, or a <datalist> element. As such, <option> can represent menu items in popups and other lists of items in an HTML document.
Implementation
const option(
this.children, {
this.label,
this.value,
this.selected = false,
this.disabled = false,
this.id,
this.classes,
this.styles,
this.attributes,
this.events,
super.key,
});