CLCalendar.multiple constructor
const
CLCalendar.multiple({
- Key? key,
- List<
DateTime> selectedDates = const [], - DateTime? initialMonth,
- ValueChanged<
List< ? onMultipleChanged,DateTime> > - DateTime? firstDate,
- DateTime? lastDate,
- bool selectableDayPredicate()?,
- int? min,
- int? max,
- bool showWeekNumbers = false,
- bool showOutsideDays = true,
- bool fixedWeeks = false,
- bool hideWeekdayNames = false,
- int numberOfMonths = 1,
- CLCalendarCaptionLayout captionLayout = CLCalendarCaptionLayout.label,
- DateTime? fromMonth,
- DateTime? toMonth,
Selezione multipla (più giorni). min/max = conteggio giorni.
Implementation
const CLCalendar.multiple({
super.key,
this.selectedDates = const [],
this.initialMonth,
this.onMultipleChanged,
this.firstDate,
this.lastDate,
this.selectableDayPredicate,
this.min,
this.max,
this.showWeekNumbers = false,
this.showOutsideDays = true,
this.fixedWeeks = false,
this.hideNavigation = false,
this.hideWeekdayNames = false,
this.numberOfMonths = 1,
this.captionLayout = CLCalendarCaptionLayout.label,
this.fromMonth,
this.toMonth,
}) : variant = CLCalendarVariant.multiple,
selected = null,
onChanged = null,
rangeStart = null,
rangeEnd = null,
onRangeChanged = null;