TextArea constructor
TextArea({
- TextAreaModel? model,
- TextAreaController? controller,
- String? prompt,
- String? placeholder,
- int? width,
- int height = 6,
- bool showLineNumbers = true,
- int? charLimit,
- bool softWrap = true,
- bool? useVirtualCursor,
- TextAreaStyles? styles,
- TextAreaKeyMap? keyMap,
- CursorModel? cursor,
- TextChangedCallback? onChanged,
- FocusController? focusController,
- String? focusId,
- bool autofocus = false,
- bool enabled = true,
- int mouseXOffset = 0,
- String? zoneId,
- Key? key,
Implementation
TextArea({
this.model,
this.controller,
this.prompt,
this.placeholder,
this.width,
this.height = 6,
this.showLineNumbers = true,
this.charLimit,
this.softWrap = true,
this.useVirtualCursor,
this.styles,
this.keyMap,
this.cursor,
this.onChanged,
this.focusController,
this.focusId,
this.autofocus = false,
this.enabled = true,
this.mouseXOffset = 0,
this.zoneId,
super.key,
});