onAppointmentResizeUpdate property
Called whenever the appointment resizing in SfCalendar.
The resizing appointment, position, time and resource details when the appointment resizing available in the AppointmentResizeUpdateDetails.
See also:
- AppointmentResizeUpdateDetails, which contains the details of the resizing appointment details in the calendar.
- onAppointmentResizeStart, callback to notifies when the appointment start resizing.
- onAppointmentResizeEnd, callback to notify when the appointment resizing ends.
return Container(
child: SfCalendar(
view: CalendarView.week,
onAppointmentResizeUpdate: (AppointmentResizeUpdateDetails
details){
dynamic appointment = details.appointment!;
CalendarResource? resource = details.resource;
DateTime time = details.resizingTime!;
Offset position = details.resizingOffset!;
},
),
);
}
Implementation
final AppointmentResizeUpdateCallback? onAppointmentResizeUpdate;