flutter_validate library

Classes

AbstractValidator<T>
DateValidator
A validator used to validate dates that originate from an input string. Any locale supported by Dart is supported here, but en_US is the default. There is a dependency on Intl.dart so you will need to set Intl.defaultLocale (e.g. Intl.defaultLocale = 'en_GB') and call initializeDateFormatting. See the unit tests for an example.
EqualValidator
A validator used to check if two inputs are equal.
LengthValidator
MustValidator<T>
NotEmptyValidator
NotEqualValidator
A validator used to check if two inputs are not equal.
RegExpValidator
A validator used to validate using regular expressions. Out of the box we have various expressions ready for use - such as phone #s and email addresses. But you may always add your own.
WrappingValidator

Properties

emailMatcher String
final
usPhoneMatcher String
final

Typedefs

MustPredicate<T>(T value) bool