util/util
library
Classes
-
ConfirmPasswordRule
-
Validates that this field's value matches the value of another field (e.g., Confirm Password).
-
Day
-
Represents a day of the month (1 to 31).
-
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.
-
Month
-
Represents a month of the year (January to December) with associated properties.
-
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.
-
Time
-
Represents an immutable point in time, wrapping Dart's DateTime.
-
TimeFormat
-
A utility class containing common, fixed date and time format strings
as static constants.
-
Weekday
-
Represents a day of the week (Monday to Sunday) with associated properties.
-
Year
-
Represents a calendar year (AD/CE).