onDateSelected property

dynamic Function(List<DateTime>)? onDateSelected
final

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.

Implementation

final Function(List<DateTime>)? onDateSelected;