setStart method

void setStart({
  1. required DateInfo date,
  2. required DateTime selectedDates,
})

Implementation

void setStart({required DateInfo date, required DateTime selectedDates}) {
  date.isSelected = SelectType.start;
  datesRange.start = selectedDates;
  // animation reset
  for (var element in betweenControllerList) {
    element.reset();
  }
}