TextArea constructor
const
TextArea({
- String? placeholder,
- int rows = 4,
- int? cols,
- bool disabled = false,
- bool required = false,
- TextAreaResize resize = TextAreaResize.vertical,
- String? minWidth,
- String? maxWidth,
- String? minHeight,
- String? maxHeight,
- String? value,
- String? name,
- String? id,
- String? label,
- String? error,
- String? helperText,
- void onChange()?,
- void onInput()?,
- bool fullWidth = true,
- 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;