CustomCalendar constructor

const CustomCalendar({
  1. Key? key,
  2. required TextEditingController controller,
  3. required VoidCallback onClose,
  4. Color? selectedColor,
  5. required DateTime? initialDate,
  6. DateTime? minDate,
  7. DateTime? maxDate,
  8. dynamic onSelectionChanged(
    1. DateRangePickerSelectionChangedArgs
    )?,
})

Implementation

const CustomCalendar({
  super.key,
  required this.controller,
  required this.onClose,
  this.selectedColor,
  required this.initialDate,
  this.minDate,
  this.maxDate,
  this.onSelectionChanged,
});