The type of information for which to optimize the text input control.

On Android, behavior may vary across device and keyboard provider.

Constants

datetime TextInputType

Optimize for date and time information.

On iOS, requests the default keyboard.

On Android, requests a keyboard with ready access to the number keys, ":", and "-".

const TextInputType(4)
emailAddress TextInputType

Optimize for email addresses.

Requests a keyboard with ready access to the "@" and "." keys.

const TextInputType(5)
multiline TextInputType

Optimize for multi-line textual information.

Requests the default platform keyboard, but accepts newlines when the enter key is pressed. This is the input type used for all multi-line text fields.

const TextInputType(1)
number TextInputType

Optimize for numerical information.

Requests a keyboard with ready access to the decimal point and number keys.

const TextInputType(2)
phone TextInputType

Optimize for telephone numbers.

Requests a keyboard with ready access to the number keys, "*", and "#".

const TextInputType(3)
text TextInputType

Optimize for textual information.

Requests the default platform keyboard.

const TextInputType(0)
url TextInputType

Optimize for URLs.

Requests a keyboard with ready access to the "/" and "." keys.

const TextInputType(6)
values List<TextInputType>

A constant List of the values in this enum, in order of their declaration.

const List<TextInputType>

Properties

index int

The integer index of this enum.

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

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