listValidator property

String? Function(List<T>)? listValidator
final

A method that validates the selected items. Returns an error string to display as per the validation, or null otherwise.

Implementation

final String? Function(List<T>)? listValidator;