Skip to content

SyncfusionExamples/add-appointments-using-ontap-callback-flutter-event-calendar

Repository files navigation

How to add the appointments using the onTap callback in the Flutter Calendar?

A quick-start example to help you to add the appointments using the onTap callback in the Flutter Calendar.

You can add appointments to the Flutter Event Calendar by tapping cells and using the Calendar's onTap callback. The onTap callback triggers whenever the calendar is tapped. For recurrence appointments, the tap details will always return as an Appointment, even for the custom business object.

  • date - returns the selected date.
  • appointments - returns the selected appointments.
  • targetElement - returns the element tapped.

You can also refer our UG documentation to know more about onTap callback.

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.