Option constructor

const Option({
  1. NodeElement? child,
  2. List<NodeElement>? children,
  3. bool disabled = false,
  4. String? label,
  5. bool selected = false,
  6. String? value,
  7. String? accesskey,
  8. bool autofocus = false,
  9. List<StyleClass>? classList,
  10. bool contentEditable = false,
  11. String? contextmenu,
  12. String? dir,
  13. bool hidden = false,
  14. String? id,
  15. String? lang,
  16. String? role,
  17. bool spellcheck = false,
  18. List<StyleCSS>? styleList,
  19. int? tabindex,
  20. String? title,
  21. String? onblur,
  22. String? onchange,
  23. String? onclick,
  24. String? ondblclick,
  25. String? onfocus,
  26. String? onkeydown,
  27. String? onkeypress,
  28. String? onkeyup,
  29. String? onload,
  30. String? onmousedown,
  31. String? onmousemove,
  32. String? onmouseout,
  33. String? onmouseover,
  34. String? onmouseup,
  35. String? onreset,
  36. String? onselect,
  37. String? onsubmit,
  38. String? onunload,
})

Implementation

const Option({
  NodeElement? child,
  List<NodeElement>? children,
  this.disabled = false,
  this.label,
  this.selected = false,
  this.value,
  this.accesskey,
  this.autofocus = false,
  this.classList,
  this.contentEditable = false,
  this.contextmenu,
  this.dir,
  this.hidden = false,
  this.id,
  this.lang,
  this.role,
  this.spellcheck = false,
  this.styleList,
  this.tabindex,
  this.title,
  this.onblur,
  this.onchange,
  this.onclick,
  this.ondblclick,
  this.onfocus,
  this.onkeydown,
  this.onkeypress,
  this.onkeyup,
  this.onload,
  this.onmousedown,
  this.onmousemove,
  this.onmouseout,
  this.onmouseover,
  this.onmouseup,
  this.onreset,
  this.onselect,
  this.onsubmit,
  this.onunload,
}) : super(child: child, children: children);