KTextarea class

Inheritance

Constructors

KTextarea.new({Key? key, bool? error = false, TextEditingController? controller, FocusNode? focusNode, TextInputType? keyboardType, TextInputAction? textInputAction, TextCapitalization textCapitalization = TextCapitalization.none, TextAlign textAlign = TextAlign.start, bool autofocus = false, bool autocorrect = true, bool enableSuggestions = true, bool expands = false, int? maxLength, void onChanged(String)?, void onEditingComplete()?, void onSubmitted(String)?, void onAppPrivateCommand(String, Map<String, dynamic>)?, List<TextInputFormatter>? inputFormatters, Brightness? keyboardAppearance, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool? enableInteractiveSelection, TextSelectionControls? selectionControls, void onTap()?, void onTapOutside(PointerDownEvent)?, ScrollController? scrollController, ScrollPhysics? scrollPhysics, String? restorationId, ControlSize size = ControlSize.regular, String? placeholder, dynamic onDebounce(String)?, Duration debounceDuration = const Duration(milliseconds: 300), bool? success, bool? warning, bool? disabled, bool filled = false, Color? filledColor, int minLines = 2, int maxLines = 9999, Widget? suffix, CrossAxisAlignment? crossAxisAlignment})
const

Properties

autocorrect bool
final
autofocus bool
final
controller TextEditingController?
final
crossAxisAlignment CrossAxisAlignment?
final
debounceDuration Duration
final
disabled bool?
final
dragStartBehavior DragStartBehavior
final
enableInteractiveSelection bool?
final
enableSuggestions bool
final
error bool?
final
expands bool
final
filled bool
final
filledColor Color?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
inputFormatters List<TextInputFormatter>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardAppearance Brightness?
final
keyboardType TextInputType?
final
maxLength int?
final
maxLines int
final
minLines int
final
onAppPrivateCommand → void Function(String, Map<String, dynamic>)?
final
onChanged → void Function(String)?
final
onDebounce → dynamic Function(String)?
final
onEditingComplete → void Function()?
final
onSubmitted → void Function(String)?
final
onTap → void Function()?
final
onTapOutside → void Function(PointerDownEvent)?
final
placeholder String?
final
restorationId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
final
scrollPhysics ScrollPhysics?
final
selectionControls TextSelectionControls?
final
size ControlSize
final
success bool?
final
suffix Widget?
final
textAlign TextAlign
final
textCapitalization TextCapitalization
final
textInputAction TextInputAction?
final
warning bool?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<KTextarea>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited