Validator/custom_validate
library
Functions
-
customValidate({required String value, String? title, bool trimWhitespace = true, bool isRequired = true, int? minLength, int? maxLength, String? pattern, PatternType? patternType, bool allowOnlyNumbers = false, bool allowOnlyLetters = false, String? emptyMessage, String? minLengthMessage, String? maxLengthMessage, String? invalidPatternMessage, String? invalidNumberMessage, String? invalidLettersMessage, String? customValidator(String value)?, List<String>? existingValues, String? alreadyExistsMessage})
→ String?
-
Provides comprehensive custom validation with multiple configurable rules.