Skip to content

SyncfusionExamples/format-view-header-day-and-date-in-flutter-event-calendar

Repository files navigation

How to format the view header day and date in the Flutter Calendar?

A quick-start example to help you to format the view header day and date in the Flutter Calendar.

Using the dayFormat and dateFormat properties in TimeSlotViewSettings, you can format the view header date and day in the Flutter Event Calendar. In this example, the day format and dateFormat are set based on the current calendar view by using the onViewChanged callback in the calendar.

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

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.