CalendarStripState constructor

CalendarStripState(
  1. DateTime selectedDate,
  2. DateTime startDate,
  3. DateTime endDate
)

Implementation

CalendarStripState(DateTime selectedDate, DateTime startDate, DateTime endDate) {
  today = getDateOnly(DateTime.now());
  lastDayOfMonth = DateUtils.getLastDayOfMonth(currentDate);
  runPresetsAndExceptions(selectedDate, startDate, endDate);
  this.selectedDate = currentDate;
}