TekioTextField class
Properties
autocorrect
→ bool
Whether to enable autocorrection.
final inherited
autofillHints
→ Iterable <String > ?
A list of strings that helps the autofill service identify the type of this
text input.
final inherited
autofocus
→ bool
Whether this text field should focus itself if nothing else is already
focused.
final inherited
autovalidateMode
→ AutovalidateMode
Used to enable/disable this form field auto validation and update its
error text.
final inherited
buildCounter
→ InputCounterWidgetBuilder ?
Callback that generates a custom InputDecorator.counter
widget.
final inherited
builder
→ FormFieldBuilder <String >
Function that returns the widget representing this form field.
final inherited
canRequestFocus
→ bool
Determine whether this text field can request the primary focus.
final inherited
clipBehavior
→ Clip
The content will be clipped (or not) according to this option.
final inherited
contentInsertionConfiguration
→ ContentInsertionConfiguration ?
Configuration of handler for media content inserted via the system input
method.
final inherited
Builds the text selection toolbar when requested by the user.
final inherited
controller
→ TextEditingController ?
Controls the text being edited.
final inherited
cursorColor
→ Color ?
The color to use when painting the cursor.
final inherited
cursorErrorColor
→ Color ?
The color of the cursor when the InputDecorator is showing an error.
final inherited
cursorHeight
→ double ?
How tall the cursor will be.
final inherited
cursorOpacityAnimates
→ bool ?
Whether the cursor will animate from fully transparent to fully opaque
during each cursor blink.
final inherited
cursorRadius
→ Radius ?
How rounded the corners of the cursor should be.
final inherited
cursorWidth
→ double
How thick the cursor will be.
final inherited
decoration
→ InputDecoration
final inherited
dragStartBehavior
→ DragStartBehavior
Determines the way that drag start behavior is handled.
final inherited
enabled
→ bool
Whether the form is able to receive user input.
final inherited
enableIMEPersonalizedLearning
→ bool
Whether to enable that the IME update personalized data such as typing
history and user dictionary data.
final inherited
enableInteractiveSelection
→ bool
Whether to enable user interface affordances for changing the
text selection.
final inherited
enableSuggestions
→ bool
final inherited
errorBuilder
→ FormFieldErrorBuilder ?
Function that returns the widget representing the error to display.
final inherited
expands
→ bool
Whether this widget's height will be sized to fill its parent.
final inherited
focusNode
→ FocusNode ?
An optional focus node to use as the focus node for this widget.
final inherited
forceErrorText
→ String ?
An optional property that forces the FormFieldState into an error state
by directly setting the FormFieldState.errorText property without
running the validator function.
final inherited
groupId
→ Object
The group identifier for the TextFieldTapRegion of this text field.
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
initialValue
→ String ?
An optional value to initialize the form field to, or null otherwise.
final inherited
inputFormatters
→ List <TextInputFormatter > ?
Optional input validation and formatting overrides.
final inherited
key
→ Key ?
Controls how one widget replaces another widget in the tree.
final inherited
keyboardAppearance
→ Brightness ?
The appearance of the keyboard.
final inherited
keyboardType
→ TextInputType ?
The type of keyboard to use for editing the text.
final inherited
magnifierConfiguration
→ TextMagnifierConfiguration ?
This magnifying glass is useful for scenarios on mobile devices where
the user's finger may be covering part of the screen where a granular
action is being performed, such as navigating a small cursor with a drag
gesture, on an image or text.
final inherited
maxLength
→ int ?
The maximum number of characters (Unicode grapheme clusters) to allow in
the text field.
final inherited
maxLengthEnforcement
→ MaxLengthEnforcement ?
final inherited
maxLines
→ int ?
The maximum number of lines to show at one time, wrapping if necessary.
final inherited
minLines
→ int ?
The minimum number of lines to occupy when the content spans fewer lines.
final inherited
mouseCursor
→ MouseCursor ?
The cursor for a mouse pointer when it enters or is hovering over the
widget.
final inherited
name
→ String
Used to reference the field within the form, or to reference form data
after the form is submitted.
final inherited
obscureText
→ bool
Whether to hide the text being edited (e.g., for passwords).
final inherited
obscuringCharacter
→ String
Character used for obscuring text if obscureText is true.
final inherited
onAppPrivateCommand
→ AppPrivateCommandCallback ?
This is used to receive a private command from the input method.
final inherited
onChanged
→ ValueChanged <String ? > ?
Called when the field value is changed.
final inherited
onEditingComplete
→ VoidCallback ?
Called when the user submits editable content (e.g., user presses the "done"
button on the keyboard).
final inherited
onReset
→ VoidCallback ?
An optional method to call when the form field is reset via
FormFieldState.reset .
final inherited
onSaved
→ FormFieldSetter <String > ?
An optional method to call with the final value when the form is saved via
FormState.save .
final inherited
onSubmitted
→ ValueChanged <String ? > ?
Called when the user indicates that they are done editing the text in the
field.
final inherited
onTap
→ GestureTapCallback ?
Called for each distinct tap except for every second tap of a double tap.
final inherited
onTapAlwaysCalled
→ bool
Whether onTap
should be called for every tap.
final inherited
onTapOutside
→ TapRegionCallback ?
A callback to be invoked when a tap is detected outside of this TapRegion
and any other region with the same groupId, if any.
final inherited
readOnly
→ bool
By default false
final inherited
restorationId
→ String ?
Restoration ID to save and restore the state of the form field.
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
scribbleEnabled
→ bool
Whether iOS 14 Scribble features are enabled for this widget.
final inherited
scrollController
→ ScrollController ?
The ScrollController to use when vertically scrolling the input.
final inherited
scrollPadding
→ EdgeInsets
Configures the padding for the edges surrounding a Scrollable when the
text field scrolls into view.
final inherited
scrollPhysics
→ ScrollPhysics ?
The ScrollPhysics to use when vertically scrolling the input.
final inherited
selectionControls
→ TextSelectionControls ?
Optional delegate for building the text selection handles.
final inherited
selectionEnabled
→ bool
no setter inherited
selectionHeightStyle
→ BoxHeightStyle
Controls how tall the selection highlight boxes are computed to be.
final inherited
selectionWidthStyle
→ BoxWidthStyle
Controls how wide the selection highlight boxes are computed to be.
final inherited
showCursor
→ bool ?
Whether to show cursor.
final inherited
smartDashesType
→ SmartDashesType ?
final inherited
smartQuotesType
→ SmartQuotesType ?
final inherited
spellCheckConfiguration
→ SpellCheckConfiguration ?
Configuration that details how spell check should be performed.
final inherited
statesController
→ WidgetStatesController ?
Represents the interactive "state" of this widget in terms of a set of
WidgetState s, including WidgetState.disabled , WidgetState.hovered ,
WidgetState.error , and WidgetState.focused .
final inherited
strutStyle
→ StrutStyle ?
The strut style used for the vertical layout.
final inherited
style
→ TextStyle ?
The style to use for the text being edited.
final inherited
stylusHandwritingEnabled
→ bool
Whether this input supports stylus handwriting, where the user can write
directly on top of a field.
final inherited
textAlign
→ TextAlign
How the text should be aligned horizontally.
final inherited
textAlignVertical
→ TextAlignVertical ?
final inherited
textCapitalization
→ TextCapitalization
Configures how the platform keyboard will select an uppercase or
lowercase keyboard.
final inherited
textDirection
→ TextDirection ?
The directionality of the text.
final inherited
textInputAction
→ TextInputAction ?
The type of action button to use for the keyboard.
final inherited
undoController
→ UndoHistoryController ?
Controls the undo state.
final inherited
validator
→ FormFieldValidator <String > ?
An optional method that validates an input. Returns an error string to
display if the input is invalid, or null otherwise.
final inherited
valueTransformer
→ ValueTransformer<String ? > ?
Called just before field value is saved. Used to massage data just before
committing the value.
final inherited