TextArea constructor

const TextArea({
  1. String? placeholder,
  2. int rows = 4,
  3. int? cols,
  4. bool disabled = false,
  5. bool required = false,
  6. bool readOnly = false,
  7. TextAreaResize resize = TextAreaResize.vertical,
  8. String? minWidth,
  9. String? maxWidth,
  10. String? minHeight,
  11. String? maxHeight,
  12. String? value,
  13. String? name,
  14. String? id,
  15. String? label,
  16. String? error,
  17. String? helperText,
  18. void onChange(
    1. String
    )?,
  19. void onInput(
    1. String
    )?,
  20. bool fullWidth = true,
  21. ArcaneStyleData? styles,
  22. ArcaneDecoration? decoration,
  23. Key? key,
})

Implementation

const TextArea({
  this.placeholder,
  this.rows = 4,
  this.cols,
  this.disabled = false,
  this.required = false,
  this.readOnly = false,
  this.resize = TextAreaResize.vertical,
  this.minWidth,
  this.maxWidth,
  this.minHeight,
  this.maxHeight,
  this.value,
  this.name,
  this.id,
  this.label,
  this.error,
  this.helperText,
  void Function(String)? onChange,
  void Function(String)? onInput,
  this.fullWidth = true,
  this.styles,
  this.decoration,
  super.key,
}) : _onChange = onChange ?? onInput;