validator property
A method that validates the selected item. Returns an error string to display as per the validation, or null otherwise.
Implementation
final String? Function(T?)? validator;
A method that validates the selected item. Returns an error string to display as per the validation, or null otherwise.
final String? Function(T?)? validator;