form_validation library

Classes

CurrencyValidator
Validator that ensures the value is a valid currency for the device's current locale.
EmailValidator
Validator for email addresses. This cannot ensure the email address itself is valid, it only ensures it is a validly formatted email address.
FormValidationTranslations
Provides the default (English) translations used by the library.
MaxLengthValidator
MaxNumberValidator
MinLengthValidator
MinNumberValidator
NumberValidator
PhoneNumberValidator
Validator for phone numbers.
RequiredValidator
A validator that ensures the value is non-null and non-empty.
Validator
Container class for a series of ValueValidator objects. Each ValueValidator will be evaluated in a short-circuited way such that as soon as one returns an error evaluation will immediately be stopped and the error will be returned.
ValueValidator

Functions

translate(String translated, [Map<String, dynamic>? args]) String
Translates the given entry. Dynamic args must be surrounded in curley braces.