validator property
An optional method that validates an input. Returns an error string to display if the input is invalid, or null otherwise.
Implementation
final FormFieldValidator<T>? validator;
An optional method that validates an input. Returns an error string to display if the input is invalid, or null otherwise.
final FormFieldValidator<T>? validator;