CalendarDetailsCallback typedef Null safety

CalendarDetailsCallback = CalendarDetails? Function(Offset position)

Signature for callback that gets the calendar details by using the getCalendarDetailsAtOffset function.

Implementation

typedef CalendarDetailsCallback = CalendarDetails? Function(Offset position);