BasicFormValidator class
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
Static Methods
-
compose<T>(List<FormFieldValidator<T>> validators)
→ FormFieldValidator<T>
-
-
creditCard({String? errorText})
→ FormFieldValidator<String>
-
-
dateTime({String? errorText, String? validator})
→ FormFieldValidator<String>
-
-
email({String? errorText})
→ FormFieldValidator<String>
-
-
equal<T>(Object value, {String? errorText, bool isNumber = true})
→ FormFieldValidator<T>
-
-
equalLength<T>(int length, {bool allowEmpty = false, String? errorText})
→ FormFieldValidator<T>
-
-
integer({String? errorText, int? radix})
→ FormFieldValidator<String>
-
-
ip({int? version, String? errorText})
→ FormFieldValidator<String>
-
-
match(String pattern, {String? errorText})
→ FormFieldValidator<String>
-
-
max<T>(num max, {bool inclusive = true, String? errorText})
→ FormFieldValidator<T>
-
-
maxLength<T>(int maxLength, {String? errorText})
→ FormFieldValidator<T>
-
-
min<T>(num min, {bool inclusive = true, String? errorText})
→ FormFieldValidator<T>
-
-
minLength<T>(int minLength, {bool allowEmpty = false, String? errorText})
→ FormFieldValidator<T>
-
-
notEqual<T>(Object value, {String? errorText, bool isNumber = true})
→ FormFieldValidator<T>
-
-
numeric({String? errorText})
→ FormFieldValidator<String>
-
-
phone({String? errorText})
→ FormFieldValidator<String>
-
-
required<T>({String? errorText})
→ FormFieldValidator<T>
-
-
timeOfDay({String? errorText})
→ FormFieldValidator<String>
-
-
url({String? errorText, List<String> protocols = const ['http', 'https', 'ftp'], bool requireTld = true, bool requireProtocol = false, bool allowUnderscore = false, List<String> hostWhitelist = const [], List<String> hostBlacklist = const []})
→ FormFieldValidator<String>
-