AntdTextArea constructor

const AntdTextArea({
  1. Key? key,
  2. AntdInputStyle? style,
  3. AntdStyleBuilder<AntdInputStyle, AntdTextArea>? styleBuilder,
  4. FocusNode? focusNode,
  5. bool clearable = true,
  6. String? value,
  7. bool? disabled,
  8. ValueChanged<String?>? onChange,
  9. VoidCallback? onEditingComplete,
  10. ValueChanged<String>? onSubmitted,
  11. VoidCallback? onClear,
  12. Widget? placeholder,
  13. bool? readOnly,
  14. AntdInputController? controller,
  15. bool? autoCollect = true,
  16. bool autocorrect = false,
  17. int? maxLines,
  18. int? minLines,
  19. int? maxLength,
  20. TextInputType? keyboardType = TextInputType.text,
  21. TextInputAction? inputAction,
  22. SelectionChangedCallback? onSelectionChanged,
  23. List<TextInputFormatter>? formatters,
  24. Widget? prefix,
  25. Widget? suffix,
  26. VoidCallback? onTap,
  27. EditableTextContextMenuBuilder? contextMenuBuilder,
  28. UndoHistoryController? undoController,
  29. SpellCheckConfiguration? spellCheckConfiguration,
  30. TextMagnifierConfiguration? magnifierConfiguration,
  31. AppPrivateCommandCallback? onAppPrivateCommand,
  32. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  33. ScrollController? scrollController,
  34. ScrollPhysics? scrollPhysics = const NeverScrollableScrollPhysics(),
  35. Clip clipBehavior = Clip.hardEdge,
  36. AntdOnFocus? onFocus,
  37. bool? shouldTriggerChange = true,
  38. AntdHapticFeedback? hapticFeedback = AntdHapticFeedback.light,
  39. bool? manual,
  40. bool showCount = true,
  41. AntdTextAreaCountBuilder? countBuilder,
})

Implementation

const AntdTextArea(
    {super.key,
    super.style,
    super.styleBuilder,
    super.focusNode,
    super.clearable = true,
    super.value,
    super.disabled,
    super.onChange,
    super.onEditingComplete,
    super.onSubmitted,
    super.onClear,
    super.placeholder,
    super.readOnly,
    super.controller,
    super.autoCollect,
    super.autocorrect = false,
    super.maxLines,
    super.minLines,
    super.maxLength,
    super.keyboardType = TextInputType.text,
    super.inputAction,
    super.onSelectionChanged,
    super.formatters,
    super.prefix,
    super.suffix,
    super.onTap,
    super.contextMenuBuilder,
    super.undoController,
    super.spellCheckConfiguration,
    super.magnifierConfiguration,
    super.onAppPrivateCommand,
    super.dragStartBehavior = DragStartBehavior.start,
    super.scrollController,
    super.scrollPhysics = const NeverScrollableScrollPhysics(),
    super.clipBehavior = Clip.hardEdge,
    super.onFocus,
    super.shouldTriggerChange = true,
    super.hapticFeedback,
    super.manual,
    this.showCount = true,
    this.countBuilder})
    : super(textAlign: TextAlign.start);