KeyboardType enum
Keyboard input types that determine the layout shown.
These map closely to Flutter's TextInputType values.
Values
- text → const KeyboardType
-
Standard text keyboard with QWERTY layout.
- multiline → const KeyboardType
-
Multiline text input (shows enter key for newlines).
- number → const KeyboardType
-
Numeric keypad / numpad (0-9 with decimal point).
- numberSigned → const KeyboardType
-
Signed number input (includes minus sign).
- numberDecimal → const KeyboardType
-
Decimal number input.
- phone → const KeyboardType
-
Phone dialer layout.
- datetime → const KeyboardType
-
Date/time input keyboard.
- emailAddress → const KeyboardType
-
Email address input (@ and . easily accessible).
- url → const KeyboardType
-
URL input (/, :, . easily accessible).
- visiblePassword → const KeyboardType
-
Password and PIN entry input (same layout as text, but the action key may differ).
- name → const KeyboardType
-
Person name input (similar to text).
- streetAddress → const KeyboardType
-
Street address input.
- none → const KeyboardType
-
No keyboard (hidden).
- custom → const KeyboardType
-
Custom layout provided via VirtualKeypad.customLayout, such as a PIN pad or OTP keypad.
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 - 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<
KeyboardType> - A constant List of the values in this enum, in order of their declaration.