A callback function that is called when the user applies the selected date range.
final Function(DateTime, DateTime)? onApplyClick;