FlexibleCalendarView constructor Null safety

const FlexibleCalendarView(
  1. {Key? key,
  2. DateTime? initialStartDate,
  3. DateTime? initialEndDate,
  4. dynamic startEndDateChange(
    1. DateTime,
    2. DateTime?
    )?,
  5. DateTime? maximumDate,
  6. DateTime? minimumDate,
  7. DateFormat? formatMonthTitle,
  8. String? textPreMonthTitle,
  9. bool? isConvertDateOfWeekToVietnamese,
  10. String? formatTitleDateOfWeek,
  11. Color? colorDayInAnotherMonth,
  12. Color? colorOfSelectedDay,
  13. Color? colorOfDayInMonth,
  14. TextStyle? styleOfDay,
  15. BoxDecoration? decorationOfSelectedDay,
  16. bool? isSelectedOnlyOneDay,
  17. Color? colorInRange,
  18. BorderRadius? borderBackgroundStartDay,
  19. BorderRadius? borderBackgroundEndDay}
)

Implementation

const FlexibleCalendarView(
    {Key? key,
    this.initialStartDate,
    this.initialEndDate,
    this.startEndDateChange,
    this.maximumDate,
    this.minimumDate,
    this.formatMonthTitle,
    this.textPreMonthTitle,
    this.isConvertDateOfWeekToVietnamese,
    this.formatTitleDateOfWeek,
    this.colorDayInAnotherMonth,
    this.colorOfSelectedDay,
    this.colorOfDayInMonth,
    this.styleOfDay,
    this.decorationOfSelectedDay,
    this.isSelectedOnlyOneDay,
    this.colorInRange,
    this.borderBackgroundStartDay,
    this.borderBackgroundEndDay})
    : super(key: key);