StringValidator class

Constructors

StringValidator()

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

chain(List<FormFieldValidator<String>> validators) FormFieldValidator<String>
email([String? message]) FormFieldValidator<String>
maxLength(int length, [String? message]) FormFieldValidator<String>
minLength(int length, {bool cleanMask = false, String? message}) FormFieldValidator<String>
minMaxLength(int minLength, int maxLength, [String? message]) FormFieldValidator<String>
notEmpty([String? message]) FormFieldValidator<String>