validator/validator_functions library

Functions

isText(String? inputString, {bool isRequired = false}) bool
Checks if string consist only Alphabet. (No Whitespace)
isValidEmail(String? inputString, {bool isRequired = false}) bool
Checks if string is email.
isValidPassword(String? inputString, {bool isRequired = false}) bool
Password should have, at least a upper case letter at least a lower case letter at least a digit at least a special character @#$%^&+= length of at least 4 no white space allowed
validateAddress(String? value) String?
validateEmail(String? email) String?
Validator functions
validateNotEmpty(String? value) String?
validatePassword(String? password) String?
validatePhoneNumber(String? phoneNumber) String?
validateText(String? value) String?
validateUsername(String? username) String?