Validators class

Constructors

Validators()

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

compose(List<FormFieldValidator<String>> validators) FormFieldValidator<String>
email(String errorMessage) FormFieldValidator<String>
max(double max, String errorMessage) FormFieldValidator<String>
maxLength(int maxLength, String errorMessage) FormFieldValidator<String>
min(double min, String errorMessage) FormFieldValidator<String>
minLength(int minLength, String errorMessage) FormFieldValidator<String>
patternRegExp(RegExp pattern, String errorMessage) FormFieldValidator<String>
patternString(String pattern, String errorMessage) FormFieldValidator<String>
required(String errorMessage) FormFieldValidator<String>