TextInputConfiguration class

Controls the visual appearance of the text input control.

See also:

Annotations
  • @immutable

Constructors

TextInputConfiguration({TextInputType inputType: TextInputType.text, bool obscureText: false, bool autocorrect: true, String actionLabel, TextInputAction inputAction: TextInputAction.done })
Creates configuration information for a text input control. [...]
const

Properties

actionLabel String
What text to display in the text input control's action button.
final
autocorrect bool
Whether to enable autocorrection. [...]
final
inputAction TextInputAction
What kind of action to request for the action button on the IME.
final
inputType TextInputType
The type of information for which to optimize the text input control.
final
obscureText bool
Whether to hide the text being edited (e.g., for passwords). [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJSON() Map<String, dynamic>
Returns a representation of this object as a JSON object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(other) bool
The equality operator. [...]
inherited