util/validator/src library
Classes
- ConfirmPasswordRule
- Validates that this field's value matches the value of another field (e.g., Confirm Password).
- EmailRule
- Validates that a field's value is a valid email format.
- MaxLengthRule
- Validates that a field's value does not exceed a maximum length.
- MinLengthRule
- Validates that a field's value meets a minimum length.
- MyFormFieldValidationRule
- Abstract base class for all validation rules. All validation rules must implement this class.
- MyFormFieldValidator
- A class that holds a list of MyFormFieldValidationRules and generates a FormFieldValidator<String> function to be used with TextFormField.
- NumberRangeRule
- Validates that a field's value is within a specified numeric range.
- NumericRule
- Validates that a field's value is a numeric string.
- PasswordComplexityRule
- Validates that a password meets common complexity requirements (at least one uppercase, one lowercase, one digit, one special character).
- RegexRule
- Validates that a field's value matches a given regular expression.
- RequiredRule
- Validates that a field is not empty.