resetCalendar method

void resetCalendar()

Implementation

void resetCalendar() {
  datesRange.start = null;
  datesRange.end = null;
  setBottomStartFormat();
  setBottomEndFormat();
  for (var date in calendarInfo.dates) {
    if (date.isSelected != SelectType.disabled) {
      date.isSelected = SelectType.none;
      if (date.singleSelectedAniCtrl != null) {
        date.singleSelectedAniCtrl!.reverse();
      }
    }
  }
}