EventDragCallback typedef
EventDragCallback =
dynamic Function(FlutterWeekViewEvent event, DateTime newStartTime)
Triggered when the user performs a drag-and-drop in an event. The event
is the same original event, unchanged, while newStartTime
contains the
time corresponding to where the event was dropped. A common behavior in this
callback is to shift the event's start and end dates (you may use
FlutterWeekViewEvent.shiftEventTo) and then call setState to update the UI.
Implementation
typedef EventDragCallback = Function(FlutterWeekViewEvent event, DateTime newStartTime);