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