DatePickerWidget.multi constructor
DatePickerWidget.multi({})
Implementation
factory DatePickerWidget.multi({
required Function(List<DateTime?> selected) onSelectionChanged,
double? height,
double? width,
DateTime? firstDate,
DateTime? lastDate,
DateTime? startDate,
PickerDateRange? initialValue,
}) =>
DatePickerWidget(
height: height,
width: width,
firstDate: firstDate,
lastDate: lastDate,
initialValue: initialValue,
calendarType: CalendarDatePicker2Type.multi,
onSelectionChanged: (selected) {
onSelectionChanged(selected as List<DateTime?>);
},
);