EasyFormValidator class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Methods
-
validateEmail(
String value, {String message = 'Invalid email address'}) → String? - Checks if a string is a valid email.
-
validatePassword(
String value, {int minLength = 6, String message = 'Password is too short'}) → String? - Checks if a password meets minimum length requirement.
-
validatePhoneNumber(
String value, {String message = 'Invalid phone number'}) → String? - Checks if a phone number is valid.
-
validateRequired(
String value, {String message = 'This field is required'}) → String? - Checks if a field is not empty.