TextArea constructor

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

Implementation

const TextArea({
  this.placeholder,
  this.rows = 4,
  this.cols,
  this.disabled = false,
  this.required = 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,
  super.key,
}) : _onChange = onChange ?? onInput;