CalendarWidget constructor

const CalendarWidget({
  1. Key? key,
  2. required DateTime initalDateTime,
  3. EdgeInsets? headerMargins,
  4. DateTime? selectedDate,
  5. EdgeInsets? weekDaysMargin,
  6. EdgeInsets? calendarContainerMargin,
  7. DateTime? startLimit,
  8. DateTime? endLimit,
  9. dynamic onTap(
    1. DateTime
    )?,
  10. CircularDecorator? monthYearOverlayValueDecorator,
  11. CalendarDecorator? calendarDecorator,
  12. bool showCurrentDay = true,
})

Implementation

const CalendarWidget({
  Key? key,
  required this.initalDateTime,
  this.headerMargins,
  this.selectedDate,
  this.weekDaysMargin,
  this.calendarContainerMargin,
  this.startLimit,
  this.endLimit,
  this.onTap,
  this.monthYearOverlayValueDecorator,
  this.calendarDecorator,
  this.showCurrentDay = true,
}) : super(key: key);