Skip to content

SyncfusionExamples/override-material-app-locale-flutter-calendar

Repository files navigation

How to override the Material app locale and set the English language for Flutter Calendar?

This example demonstrates how to override the Material app locale and set the English language for Flutter Calendar.

In Flutter, you can override the Material app locale with different locale by using the Localization.override constructor.

Override material app locale and locale for the calendar

In this sample, the SfCalendar and SfDateRangePicker control is present in the Column widget. The SfCalendar is placed in the Localization.override constructor in which the inherited locale (defined in Material app locale) and SfDateRangePicker have Material app locale.

Locale

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 override the Material app locale and set English language for Flutter Calendar

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •