CustomDateRangePicker constructor

const CustomDateRangePicker({
  1. Key? key,
  2. DateTime? initialStartDate,
  3. DateTime? initialEndDate,
  4. required Color primaryColor,
  5. required Color backgroundColor,
  6. required dynamic onApplyClick(
    1. DateRange?
    ),
  7. bool barrierDismissible = true,
  8. required DateTime minimumDate,
  9. required DateTime maximumDate,
  10. required dynamic onCancelClick(),
  11. double? width,
  12. double? height,
})

Implementation

const CustomDateRangePicker({
  Key? key,
  this.initialStartDate,
  this.initialEndDate,
  required this.primaryColor,
  required this.backgroundColor,
  required this.onApplyClick,
  this.barrierDismissible = true,
  required this.minimumDate,
  required this.maximumDate,
  required this.onCancelClick,
  this.width,
  this.height,
}) : super(key: key);