Skip to content

SyncfusionExamples/long-press-on-date-selection-flutter-event-calendar

Repository files navigation

How to handle the long press action on date selection in the Flutter Calendar?

A quick-start example to help you to handle the long press action on date selection in the Flutter Calendar.

The onLongPress callback in the Flutter Event Calendar can be used to handle the long press action on the date selection.

The onLongPress callback is called, whenever the SfCalendar elements are long pressed on view. By using the CalendarLongPressDetails you can get the long-pressed date, appointments, and element details when the long-press action is performed on an element in the calendar.

For more details, Refer to our UG documentation Long press 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.

About

How to handle the long press action on date selection in the Flutter event calendar (SfCalendar)?

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors