onRangeSelected property
final
Function called whenever a date range is selected. Takes three arguments, the starting day, the ending day, and the focusedDay. The starting and end day can be null.
Implementation
final void Function(DateTime?, DateTime?, DateTime)? onRangeSelected;