FormValidators class

Constructors

FormValidators()

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

validateCheckboxGroup(List<String> selectedKeys, {String fieldName = 'option'}) → String?
validateConfirmPassword(String? value, String password) → String?
validateDate(DateTime? selectedDate, {String fieldName = 'date'}) → String?
validateDropdown(String? selectedKey, {String fieldName = 'Option'}) → String?
validateEmail(String? value) → String?
validateMinLength(String? value, int minLength, String fieldName) → String?
validateName(String? value) → String?
validatePassword(String? value) → String?
validatePhone(PhoneNumber? phoneNumber) → String?
validateRadioGroup(String? selectedKey, {String fieldName = 'option'}) → String?
validateRequired(String? value, String fieldName) → String?
validateTime(TimeOfDay? selectedTime, {String fieldName = 'time'}) → String?
validateUsername(String? value) → String?