CupertinoCalendarMonthView constructor

CupertinoCalendarMonthView({
  1. Key? key,
  2. DayBoxStyle? dayBoxStyle,
  3. CalendarTopBarStyle? topBarStyle,
  4. CurrentDatePickedEvent? onSelectedDate,
  5. bool keepPage = false,
  6. bool safeArea = true,
  7. required Orientation orientation,
  8. required YearMonthRange yearMonthRange,
  9. FirstDayOfWeek firstDayOfWeek = FirstDayOfWeek.sun,
})

Implementation

CupertinoCalendarMonthView({
  Key? key,
  this.dayBoxStyle,
  this.topBarStyle,
  this.onSelectedDate,
  this.keepPage = false,
  this.safeArea = true,
  required this.orientation,
  required this.yearMonthRange,
  this.firstDayOfWeek = FirstDayOfWeek.sun,
})  : assert(yearMonthRange.where((ym) => ym == YearMonth.now()).isNotEmpty,
          "The range must included this month"),
      dateRemindList = DateRemindList(),
      super(key: key);