TextCapitalization enum
Configures how the platform keyboard will select an uppercase or lowercase keyboard.
Only supports text keyboards, other keyboard types will ignore this configuration. Capitalization is locale-aware.
Constants
- characters → const TextCapitalization
-
Defaults to an uppercase keyboard for each character.
Corresponds to
InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS
on Android, andUITextAutocapitalizationTypeAllCharacters
on iOS.const TextCapitalization(2)
- none → const TextCapitalization
-
Defaults to a lowercase keyboard.
const TextCapitalization(3)
- sentences → const TextCapitalization
-
Defaults to an uppercase keyboard for the first letter of each sentence.
Corresponds to
InputType.TYPE_TEXT_FLAG_CAP_SENTENCES
on Android, andUITextAutocapitalizationTypeSentences
on iOS.const TextCapitalization(1)
-
values
→ const List<
TextCapitalization> -
A constant List of the values in this enum, in order of their declaration.
const List<
TextCapitalization> - words → const TextCapitalization
-
Defaults to an uppercase keyboard for the first letter of each word.
Corresponds to
InputType.TYPE_TEXT_FLAG_CAP_WORDS
on Android, andUITextAutocapitalizationTypeWords
on iOS.const TextCapitalization(0)
Properties
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited