calendarStartDate and calendarEndDate are the start and end dates of the calendar.
The difference inDays between calendarEndDate and calendarStartDate should be greater than 0.
datesToExclude is a list of dates that will be refrained from selection.
If datesToExclude is null, all dates between startDate and endDate will be available for selection.
enableListener determines whether the whether you will get an event on every date selection.
By default this will be true.
If enableListener is false, onDateSelected will not be called on date selection.
If this is set to false a confirm button will be shown to get the selected dates.
onDateSelected is a callback that will be called on date selection.
Note that this will be triggered for every date change if enableListener is true.
If you want to change this behavior you can use enableListener to false.
Then a confirm button will be shown to get the selected dates.