input<T> constructor

const input<T>({
  1. InputType? type,
  2. String? name,
  3. String? value,
  4. bool disabled = false,
  5. bool? checked,
  6. bool? indeterminate,
  7. ValueChanged<T>? onInput,
  8. ValueChanged<T>? onChange,
  9. String? id,
  10. String? classes,
  11. Styles? styles,
  12. Map<String, String>? attributes,
  13. Map<String, EventCallback>? events,
  14. Key? key,
})

The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety of types of input data and control widgets are available, depending on the device and user agent. The <input> element is one of the most powerful and complex in all of HTML due to the sheer number of combinations of input types and attributes.

Implementation

const input({
  this.type,
  this.name,
  this.value,
  this.disabled = false,
  this.checked,
  this.indeterminate,
  this.onInput,
  this.onChange,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});