EventResizeCallback typedef

EventResizeCallback = dynamic Function(FlutterWeekViewEvent event, DateTime newEndTime)

Triggered when the user performs a resize in an event. The event is the same original event, unchanged, while newEndTime contains the time corresponding to where the event's end was dragged to. A common behavior in this callback is to update the event with the new end time and call setState to update the UI.

Implementation

typedef EventResizeCallback = Function(FlutterWeekViewEvent event, DateTime newEndTime);