availableCalendarFormats property
final
Map
of CalendarFormat
s and String
names associated with them.
Those CalendarFormat
s will be used by internal logic to manage displayed format.
To ensure proper vertical swipe behavior, CalendarFormat
s should be in descending order (i.e. from biggest to smallest).
For example:
availableCalendarFormats: const {
CalendarFormat.month: 'Month',
CalendarFormat.week: 'Week',
}
Implementation
final Map<CalendarFormat, String> availableCalendarFormats;