clearSelection method
void
clearSelection()
Implementation
void clearSelection() {
setState(() {
selectedDate = null;
_controller.text = '';
});
}
void clearSelection() {
setState(() {
selectedDate = null;
_controller.text = '';
});
}