textarea constructor

const textarea(
  1. List<Component> children, {
  2. AutoComplete? autoComplete,
  3. bool autofocus = false,
  4. int? cols,
  5. bool disabled = false,
  6. int? minLength,
  7. String? name,
  8. String? placeholder,
  9. bool readonly = false,
  10. bool required = false,
  11. int? rows,
  12. SpellCheck? spellCheck,
  13. TextWrap? wrap,
  14. ValueChanged<String>? onInput,
  15. ValueChanged<String>? onChange,
  16. String? id,
  17. String? classes,
  18. Styles? styles,
  19. Map<String, String>? attributes,
  20. Map<String, EventCallback>? events,
  21. Key? key,
})

The <textarea> HTML element represents a multi-line plain-text editing control, useful when you want to allow users to enter a sizeable amount of free-form text, for example a comment on a review or feedback form.

Implementation

const textarea(
  this.children, {
  this.autoComplete,
  this.autofocus = false,
  this.cols,
  this.disabled = false,
  this.minLength,
  this.name,
  this.placeholder,
  this.readonly = false,
  this.required = false,
  this.rows,
  this.spellCheck,
  this.wrap,
  this.onInput,
  this.onChange,
  this.id,
  this.classes,
  this.styles,
  this.attributes,
  this.events,
  super.key,
});