textarea constructor
const
textarea(
- List<
Component> children, { - AutoComplete? autoComplete,
- bool autofocus = false,
- int? cols,
- bool disabled = false,
- int? minLength,
- String? name,
- String? placeholder,
- bool readonly = false,
- bool required = false,
- int? rows,
- SpellCheck? spellCheck,
- TextWrap? wrap,
- ValueChanged<
String> ? onInput, - ValueChanged<
String> ? onChange, - String? id,
- String? classes,
- Styles? styles,
- Map<
String, String> ? attributes, - Map<
String, EventCallback> ? events, - 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,
});