TextCapitalization enum Null safety
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.
Constructors
- TextCapitalization()
-
const
Values
- words → const TextCapitalization
-
Defaults to an uppercase keyboard for the first letter of each word.
Corresponds to
InputType.TYPE_TEXT_FLAG_CAP_WORDSon Android, andUITextAutocapitalizationTypeWordson iOS.TextCapitalization() - sentences → const TextCapitalization
-
Defaults to an uppercase keyboard for the first letter of each sentence.
Corresponds to
InputType.TYPE_TEXT_FLAG_CAP_SENTENCESon Android, andUITextAutocapitalizationTypeSentenceson iOS.TextCapitalization() - characters → const TextCapitalization
-
Defaults to an uppercase keyboard for each character.
Corresponds to
InputType.TYPE_TEXT_FLAG_CAP_CHARACTERSon Android, andUITextAutocapitalizationTypeAllCharacterson iOS.TextCapitalization() - none → const TextCapitalization
-
Defaults to a lowercase keyboard.
TextCapitalization()
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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<
TextCapitalization> -
A constant List of the values in this enum, in order of their declaration.
[words, sentences, characters, none]