DVInputKind enum
What a text field holds, so the right keyboard opens and the right thing is
offered to fill it. See DVModifier.input(kind: ...).
Values
- text → const DVInputKind
-
Plain text.
const DVInputKind(TextInputType.text, null) - email → const DVInputKind
-
An email address: the keyboard with
@, and the saved addresses.const DVInputKind(TextInputType.emailAddress, AutofillHints.email) - phone → const DVInputKind
-
A phone number: the dial pad, and the saved number.
const DVInputKind(TextInputType.phone, AutofillHints.telephoneNumber) - number → const DVInputKind
-
Whole numbers: digits only.
const DVInputKind(TextInputType.number, null) - decimal → const DVInputKind
-
A price or a measure: digits and a decimal point.
const DVInputKind(TextInputType.numberWithOptions(decimal: true), null) - url → const DVInputKind
-
A web address.
const DVInputKind(TextInputType.url, AutofillHints.url) - password → const DVInputKind
-
The password an account already has. Hides what is typed.
const DVInputKind(TextInputType.text, AutofillHints.password) - newPassword → const DVInputKind
-
A password being chosen: the phone offers to make and save one. Hides what is typed.
const DVInputKind(TextInputType.text, AutofillHints.newPassword) - name → const DVInputKind
-
A person's name, each word capitalised.
const DVInputKind(TextInputType.name, AutofillHints.name) - streetAddress → const DVInputKind
-
A street address.
const DVInputKind(TextInputType.streetAddress, AutofillHints.fullStreetAddress) - oneTimeCode → const DVInputKind
-
The code a text message or an authenticator gave: digits, filled from the message when the phone can.
const DVInputKind(TextInputType.number, AutofillHints.oneTimeCode)
Properties
-
autofillHints
→ Iterable<
String> ? -
What the phone may offer to fill it with, null for a kind that has none.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hidesText → bool
-
Whether what is typed is hidden.
no setter
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- keyboardType → TextInputType
-
The keyboard this kind opens.
final
- 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
- textCapitalization → TextCapitalization
-
Names are capitalised by word; nothing else is.
no setter
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<
DVInputKind> - A constant List of the values in this enum, in order of their declaration.