LoginUserType enum
Represents the type of input field used for login or signup.
This enum is used to determine how each field should behave, including keyboard type, autofill hint, label, and icon.
Values
- email → const LoginUserType
-
Email address input field.
Uses an email keyboard and validates email format.
- name → const LoginUserType
-
Full name input field.
Treated as a free-form text field with name-specific autofill.
- phone → const LoginUserType
-
Phone number input field (non-international).
Uses the standard phone keyboard.
- firstName → const LoginUserType
-
First name input field.
Autofill and validation are tailored to first names.
- lastName → const LoginUserType
-
Last name input field.
Autofill and validation are tailored to last names.
- text → const LoginUserType
-
Generic text input field.
Can be used for arbitrary user-defined content.
- intlPhone → const LoginUserType
-
International phone number input field.
May provide country code selection and international formatting.
- checkbox → const LoginUserType
-
Checkbox field (e.g. terms and conditions).
Used for non-text boolean agreement inputs.
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<
LoginUserType> - A constant List of the values in this enum, in order of their declaration.