OnRangeSelected typedef

OnRangeSelected = void Function(DateTime? start, DateTime? end, DateTime focusedDay)

Signature for onRangeSelected callback. Contains start and end of the selected range, as well as currently focused day.

Implementation

typedef OnRangeSelected = void Function(
    DateTime? start, DateTime? end, DateTime focusedDay);