FormeValidates class

validators for Forme

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

all(List<FormeValidator> validators, {String errorText = ''}) FormeValidator
when valid
any(List<FormeValidator> validators, {String errorText = ''}) FormeValidator
when valid
email({String errorText = ''}) FormeValidator
when valid
equals(dynamic value, {String errorText = ''}) FormeValidator
when valid:
max(double max, {String errorText = ''}) FormeValidator
when valid
min(double min, {String errorText = ''}) FormeValidator
when valid
negative({String errorText = ''}) FormeValidator
when valid
negativeOrZero({String errorText = ''}) FormeValidator
when valid
notBlank({String errorText = ''}) FormeValidator
when valid
notEmpty({String errorText = ''}) FormeValidator
when valid
notNull({String errorText = ''}) FormeValidator
when valid
pattern(String pattern, {String errorText = ''}) FormeValidator
when valid
positive({String errorText = ''}) FormeValidator
when valid
positiveOrZero({String errorText = ''}) FormeValidator
when valid
range(double min, double max, {String errorText = ''}) FormeValidator
when valid:
size({String errorText = '', int? min, int? max}) FormeValidator
when valid
url({String errorText = '', String? schema, String? host, int? port}) FormeValidator
when valid

Constants

emailPattern → const String