customValidator property
ValidCallback?
customValidator
getter/setter pair
Define your own customValidator if you are dissatisfied with _defaultValidator
.
If you set validation
other than null
PhoneNumber instantiation
and PhoneNumber.validate function will validate by your custom validation
.
Implementation
static ValidCallback? customValidator;