toggleSelectionMode method
Switches the calendar between range and single selection mode.
Resets any current selections.
Implementation
void toggleSelectionMode(bool selectionMode) {
isRangeSelection = selectionMode;
_userPicked = null;
_rangeStart = null;
_rangeEnd = null;
notifyListeners();
}