modalValidation property

  1. @override
S2Validation<S2SingleChosen<T>>? get modalValidation
override

Returns the validation function to validate the selection made in the modal, if null fallback to validation

Implementation

@override
S2Validation<S2SingleChosen<T>>? get modalValidation {
  return widget.singleModalValidation ?? validation;
}