PasswordError class
requiredErrorMsg : error message to show when password is Empty
minLengthErrorMsg : error message to show when password length is less then minLength
uppercaseErrorMsg : error message to show when password doesn't contain uppercase character
specialCharacterErrorMsg : error message to show when password doesn't contain special character
digitsErrorMsg : error message to show when password doesn't contain number
error : generale error message to show
- Inheritance
-
- Object
- TextFieldError
- PasswordError
Constructors
- PasswordError({String requiredErrorMsg = "Password is required", String minLengthErrorMsg = "", String uppercaseErrorMsg = "Password must include at least one uppercase letter ", String specialCharacterErrorMsg = "Password must include at least one special character", String digitsErrorMsg = "Password must include at least one digit from 0 to 9", String? error})
-
const
Properties
- digitsErrorMsg → String
-
final
- error → String?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- minLengthErrorMsg → String
-
final
- patternErrorMsg → String
-
finalinherited
- requiredErrorMsg → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- specialCharacterErrorMsg → String
-
final
- uppercaseErrorMsg → String
-
final
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