ValidatorModel constructor
const
ValidatorModel({})
You can set you own custom validator with customValidator or you can make some customization on the default validation.
Implementation
const ValidatorModel({
this.customValidator,
this.length,
this.checkUpperCase = false,
this.checkLowerCase = false,
this.checkSpace = false,
this.checkNumber = false,
this.validatorCallback,
});