TextInputTypeEnum enum

Represents the type of text input to use for TextFieldNode. Corresponds to the TextInputType enum in Flutter.

Inheritance
Available extensions

Values

dateTime → const TextInputTypeEnum

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 "-".

emailAddress → const TextInputTypeEnum

Optimize for email addresses.

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

multiline → const TextInputTypeEnum

Optimize for multiline textual information.

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

name → const TextInputTypeEnum

On iOS, requests the UIKeyboardType.namePhonePad keyboard, a keyboard optimized for entering a person’s name or phone number. Does not support auto-capitalization.

On Android, requests a keyboard optimized for TYPE_TEXT_VARIATION_PERSON_NAME.

none → const TextInputTypeEnum

Prevent the OS from showing the on-screen virtual keyboard.

number → const TextInputTypeEnum

Optimize for unsigned numerical information without a decimal point.

Requests a default keyboard with ready access to the number keys. Additional options, such as decimal point and/or positive/negative signs, can be requested using TextInputTypeEnum.numberWithOptions.

phone → const TextInputTypeEnum

Optimize for telephone numbers.

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

streetAddress → const TextInputTypeEnum

Optimized for postal mailing addresses.

On iOS, requests the default keyboard.

On Android, requests a keyboard optimized for TYPE_TEXT_VARIATION_POSTAL_ADDRESS.

text → const TextInputTypeEnum

Optimize for textual information.

Requests the default platform keyboard.

url → const TextInputTypeEnum

Optimize for URLs.

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

visiblePassword → const TextInputTypeEnum

Optimize for passwords that are visible to the user.

Requests a keyboard with ready access to both letters and numbers.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
prettify String
Displayable string representation of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<TextInputTypeEnum>
A constant List of the values in this enum, in order of their declaration.