CustomDateRangePicker constructor

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

Implementation

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