Skip to content

How to restrict the visible date ranges in the Flutter event calendar (SfCalendar)

Notifications You must be signed in to change notification settings

SyncfusionExamples/restrict-visible-date-ranges-in-flutter-event-calendar

Repository files navigation

How to restrict the visible date ranges in the Flutter Calendar?

A quick-start example to help you to restrict the visible date ranges in the Flutter Calendar.

You can restrict the visible date ranges in the Flutter Event Calendar by using the calendar's minDate and maxDate properties. It is applicable in all the schedule views.

When the minDate and maxDate are set to the calendar, you cannot swipe the control using touch gesture beyond those dates.

RestrictNavigation

For more details, Refer to our UG documentation Restrict Date Naviagtion.

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.