appointmentDisplayMode property

MonthAppointmentDisplayMode appointmentDisplayMode
final

Defines the appointment display mode for the month cell in SfCalendar.

Defaults to MonthAppointmentDisplayMode.indicator.

See also:

Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.month,
       monthViewSettings: MonthViewSettings(
          dayFormat: 'EEE',
          numberOfWeeksInView: 4,
          appointmentDisplayCount: 2,
          appointmentDisplayMode: MonthAppointmentDisplayMode.appointment,
          showAgenda: false,
          navigationDirection: MonthNavigationDirection.horizontal),
     ),
   );
 }

Implementation

final MonthAppointmentDisplayMode appointmentDisplayMode;