AntdTextArea constructor
const
AntdTextArea({
- Key? key,
- AntdInputStyle? style,
- AntdStyleBuilder<
AntdInputStyle, AntdTextArea> ? styleBuilder, - FocusNode? focusNode,
- bool clearable = true,
- String? value,
- bool disabled = false,
- ValueChanged<
String?> ? onChange, - VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - VoidCallback? onClear,
- Widget? placeholder,
- bool readOnly = false,
- AntdInputController? controller,
- bool autocorrect = false,
- int? maxLines,
- int? minLines,
- int? maxLength,
- TextInputType? keyboardType = TextInputType.text,
- TextInputAction? inputAction,
- SelectionChangedCallback? onSelectionChanged,
- List<
TextInputFormatter> ? formatters, - Widget? prefix,
- Widget? suffix,
- VoidCallback? onTap,
- EditableTextContextMenuBuilder? contextMenuBuilder,
- UndoHistoryController? undoController,
- SpellCheckConfiguration? spellCheckConfiguration,
- TextMagnifierConfiguration? magnifierConfiguration,
- AppPrivateCommandCallback? onAppPrivateCommand,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollController? scrollController,
- ScrollPhysics? scrollPhysics = const AlwaysScrollableScrollPhysics(),
- Clip clipBehavior = Clip.hardEdge,
- AntdOnFocus? onFocus,
- bool showCount = true,
- 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);