Skip to content

How to get the selected dates using selection changed callback in the Flutter Calendar

Notifications You must be signed in to change notification settings

SyncfusionExamples/get-selected-dates-in-selection-changed-callback-flutter-calendar

Repository files navigation

How to get the selected dates using the selection changed callback in the Flutter Calendar?

This example demonstrates how to get the selected dates using the selection changed callback in the Flutter Calendar.

Obtaining selected dates

Using the onSelectionChanged callback, you can get the selected details from the Flutter Event Calendar and display them in the Alert dialog window. When the controller's selected date changes, the onSelectionChanged callback is triggered.

SelectionChanged

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.