StacTextInputType enum
JSON-friendly keyboard type values for TextField. Mirrors Flutter's TextInputType at a high level.
- Inheritance
- Available extensions
Values
- text → const StacTextInputType
-
Default text keyboard for general text input.
- multiline → const StacTextInputType
-
Text keyboard configured for multi-line entry (enables return/newline).
- number → const StacTextInputType
-
Numeric keyboard for entering numbers (may show decimal/negatives per OS).
- phone → const StacTextInputType
-
Phone keypad optimized for dialing.
- datetime → const StacTextInputType
-
Date/time related input keyboard (platform-specific).
- emailAddress → const StacTextInputType
-
Email-optimized keyboard (e.g., includes @ and . shortcuts).
- url → const StacTextInputType
-
URL-optimized keyboard (e.g., includes / and . shortcuts).
- visiblePassword → const StacTextInputType
-
Password entry with visually distinct layout; pair with obscureText.
- name → const StacTextInputType
-
Name entry keyboard (platform-optimized for names).
- streetAddress → const StacTextInputType
-
Street address entry keyboard (platform-optimized for addresses).
- none → const StacTextInputType
-
No particular keyboard, let platform decide.
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 - parse → TextInputType
-
Available on StacTextInputType, provided by the StacTextInputTypeParser extension
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<
StacTextInputType> - A constant List of the values in this enum, in order of their declaration.