FormValidator class

Constructors

FormValidator.new()

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

confirmPasswordValidator(String? text, {bool isRequired = true, required String passwordText}) String?
emailValidator(String? text, {bool isRequired = true, String field = "Email"}) String?
passwordValidator(String? text, {bool isRequired = true, String field = "Password"}) String?
phoneValidator(String? text, {bool isRequired = true, String field = "Phone number", RegExp? phoneRegex}) String?
textValidator(String? text, {bool isRequired = true, int minCount = 3}) String?