availableCalendarFormats property

Map<CalendarFormat, String> availableCalendarFormats

Map of CalendarFormats and String names associated with them. Those CalendarFormats will be used by internal logic to manage displayed format.

To ensure proper vertical swipe behavior, CalendarFormats should be in descending order (i.e. from biggest to smallest).

For example:

availableCalendarFormats: const {
  CalendarFormat.month: 'Month',
  CalendarFormat.week: 'Week',


final Map<CalendarFormat, String> availableCalendarFormats;