clearSelection method
void
clearSelection()
Empties the selection (and the scroll anchor) in every mode. No-op when detached. Fires no callbacks.
Implementation
void clearSelection() {
_datePickerState?._applyProgrammaticSelection(const <DateTime>[]);
}