CustomDateRangePicker constructor
const
CustomDateRangePicker({ - Key? key,
- DateTime? initialStartDate,
- DateTime? initialEndDate,
- required Color primaryColor,
- required Color backgroundColor,
- required dynamic onApplyClick(
- DateRange?
),
- bool barrierDismissible = true,
- required DateTime minimumDate,
- required DateTime maximumDate,
- required dynamic onCancelClick(),
- double? width,
- 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);