CalendarProps constructor
const
CalendarProps({
- DateTime? selected,
- required DateTime displayMonth,
- DateTime? minDate,
- DateTime? maxDate,
- bool showWeekNumbers = false,
- bool showToday = true,
- int firstDayOfWeek = 0,
- CalendarModeVariant mode = CalendarModeVariant.single,
- DateRangeValue? selectedRange,
- DateTime? rangeStart,
- bool isDisabled()?,
- void onPreviousMonth()?,
- void onNextMonth()?,
- void onGoToToday()?,
- void onSelectDate(
- 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,
});