select constructor

const select(
  1. List<Component> children, {
  2. String? name,
  3. String? value,
  4. bool multiple = false,
  5. bool required = false,
  6. bool disabled = false,
  7. bool autofocus = false,
  8. String? autocomplete,
  9. int? size,
  10. ValueChanged<List<String>>? onInput,
  11. ValueChanged<List<String>>? onChange,
  12. String? id,
  13. String? classes,
  14. Styles? styles,
  15. Map<String, String>? attributes,
  16. Map<String, EventCallback>? events,
  17. Key? key,
})

The <select> HTML element represents a control that provides a menu of options.

Implementation

const select(
  this.children, {
  this.name,
  this.value,
  this.multiple = false,
  this.required = false,
  this.disabled = false,
  this.autofocus = false,
  this.autocomplete,
  this.size,
  this.onInput,
  this.onChange,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});