PasswordConfirmation class
- Inheritance
-
- Object
- FormzInput<
String, PasswordConfirmationValidationError> - PasswordConfirmation
Constructors
- PasswordConfirmation.dirty({required String password, String value = ''})
-
const
- PasswordConfirmation.pure({String password = '', String value = ''})
-
const
Properties
- displayError → PasswordConfirmationValidationError?
-
The error to display if the FormzInput value
is not valid and has been modified.
no setterinherited
- error → PasswordConfirmationValidationError?
-
Returns a validation error if the FormzInput is invalid.
Returns
nullif the FormzInput is valid.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- isNotValid → bool
-
Whether the FormzInput value is not valid.
A value is invalid when the overridden
validatorreturns an error (non-null value).no setterinherited - isPure → bool
-
If the FormzInput is pure (has been touched/modified).
Typically when the
FormzInputis initially created, it is created using theFormzInput.pureconstructor to signify that the user has not modified it.finalinherited - isValid → bool
-
Whether the FormzInput value is valid according to the
overridden
validator.no setterinherited - password → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value of the given FormzInput.
For example, if you have a
FormzInputforFirstName, the value could be 'Joe'.finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validator(
String? value) → PasswordConfirmationValidationError? -
A function that must return a validation error if the provided
valueis invalid andnullotherwise.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited