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 = false,
  8. ValueChanged<String?>? onChange,
  9. VoidCallback? onEditingComplete,
  10. ValueChanged<String>? onSubmitted,
  11. VoidCallback? onClear,
  12. Widget? placeholder,
  13. bool readOnly = false,
  14. AntdInputController? controller,
  15. bool autocorrect = false,
  16. int? maxLines,
  17. int? minLines,
  18. int? maxLength,
  19. TextInputType? keyboardType = TextInputType.text,
  20. TextInputAction? inputAction,
  21. SelectionChangedCallback? onSelectionChanged,
  22. List<TextInputFormatter>? formatters,
  23. Widget? prefix,
  24. Widget? suffix,
  25. VoidCallback? onTap,
  26. EditableTextContextMenuBuilder? contextMenuBuilder,
  27. UndoHistoryController? undoController,
  28. SpellCheckConfiguration? spellCheckConfiguration,
  29. TextMagnifierConfiguration? magnifierConfiguration,
  30. AppPrivateCommandCallback? onAppPrivateCommand,
  31. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  32. ScrollController? scrollController,
  33. ScrollPhysics? scrollPhysics = const AlwaysScrollableScrollPhysics(),
  34. Clip clipBehavior = Clip.hardEdge,
  35. AntdOnFocus? onFocus,
  36. bool showCount = true,
  37. AntdTextAreaCountBuilder? countBuilder,
})

Implementation

const AntdTextArea(
    {super.key,
    super.style,
    super.styleBuilder,
    super.focusNode,
    super.clearable = true,
    super.value,
    super.disabled = false,
    super.onChange,
    super.onEditingComplete,
    super.onSubmitted,
    super.onClear,
    super.placeholder,
    super.readOnly = false,
    super.controller,
    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 AlwaysScrollableScrollPhysics(),
    super.clipBehavior = Clip.hardEdge,
    super.onFocus,
    this.showCount = true,
    this.countBuilder})
    : super(textAlign: TextAlign.start);