setCurrentMonthRange method

void setCurrentMonthRange({
  1. required DateTime startDt,
  2. required DateTime endDt,
  3. required SelectType type,
})

Implementation

void setCurrentMonthRange(
    {required DateTime startDt,
    required DateTime endDt,
    required SelectType type}) {
  startDt.getBtwDates(end: endDt).forEach((btwDate) {
    setCurrentMonth(btwDate, type);
  });
  setCurrentMonth(startDt, type);
  setCurrentMonth(endDt, type);
}