Skip to content

SyncfusionExamples/drag_and_drop_resource_details_flutter_calendar

Repository files navigation

How to get the dropped resource details in the Flutter Calendar (SfCalendar)?

This example demonstrates How to get the dropped resource details by using the onDragEnd callback of the calendar.

The onDragEnd callback of the calendar can be used to get the dropped resource details in the Flutter Calendar.

Enabling drag and drop

To perform drag-and-drop operations within the calendar, enable the allowDragAndDrop property of SfCalendar.

Getting the source details and target resource details

The sourceResource and targetResource properties from the AppointmentDragEndDetails can be used to get the changed target and source resource details through the onDragEnd callback.

ResourceDetails

You can also refer our UG documentation to know more about DragandDrop support in the Flutter calendar.

Requirements to run the demo

How to run this application

To run this application, you need to first clone or download the ‘create a flutter maps widget in 10 minutes’ repository and open it in your preferred IDE. Then, build and run your project to view the output.

Further help

For more help, check the Syncfusion Flutter documentation, Flutter documentation.

About

How to get the dropped resource details in the Flutter Calendar (SfCalendar)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •