Function when a range is selected
final Function(DateTime minDate, DateTime? maxDate)? onRangeSelected;