CalendarProps constructor

const CalendarProps({
  1. DateTime? selected,
  2. required DateTime displayMonth,
  3. DateTime? minDate,
  4. DateTime? maxDate,
  5. bool showWeekNumbers = false,
  6. bool showToday = true,
  7. int firstDayOfWeek = 0,
  8. CalendarModeVariant mode = CalendarModeVariant.single,
  9. DateRangeValue? selectedRange,
  10. DateTime? rangeStart,
  11. bool isDisabled(
    1. DateTime
    )?,
  12. void onPreviousMonth()?,
  13. void onNextMonth()?,
  14. void onGoToToday()?,
  15. void onSelectDate(
    1. DateTime date
    )?,
})

Implementation

const CalendarProps({
  this.selected,
  required this.displayMonth,
  this.minDate,
  this.maxDate,
  this.showWeekNumbers = false,
  this.showToday = true,
  this.firstDayOfWeek = 0,
  this.mode = CalendarModeVariant.single,
  this.selectedRange,
  this.rangeStart,
  this.isDisabled,
  this.onPreviousMonth,
  this.onNextMonth,
  this.onGoToToday,
  this.onSelectDate,
});