TextArea constructor

TextArea({
  1. TextAreaModel? model,
  2. TextAreaController? controller,
  3. String? prompt,
  4. String? placeholder,
  5. int? width,
  6. int height = 6,
  7. bool showLineNumbers = true,
  8. int? charLimit,
  9. bool softWrap = true,
  10. bool? useVirtualCursor,
  11. TextAreaStyles? styles,
  12. TextAreaKeyMap? keyMap,
  13. CursorModel? cursor,
  14. TextChangedCallback? onChanged,
  15. FocusController? focusController,
  16. String? focusId,
  17. bool autofocus = false,
  18. bool enabled = true,
  19. int mouseXOffset = 0,
  20. String? zoneId,
  21. 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,
});