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