agendaViewHeight property
The height for agenda view to layout within this in SfCalendar month view.
Defaults to -1
.
See also:
- showAgenda, which allows to display agenda view as a part of month view in calendar.
- agendaItemHeight, which is the size for every appointment in the agenda view of month view in calendar.
- agendaStyle, which is used to customize the agenda view on month view of calendar.
- appointmentDisplayMode, which allows to customize the display mode of appointment view in month cells of calendar.
- Knowledge base: How to customize agenda view height based on widget height
- Knowledge base: How to customize agenda item height
- Knowledge base: How to show appointment in agenda view using programmatic date selection
- Knowledge base: How to customize the agenda view appointment
- Knowledge base: How to clear the appointment in month agenda view using onViewChanged callback
- Knowledge base: How to show a custom agenda view
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.month,
monthViewSettings: MonthViewSettings(
dayFormat: 'EEE',
numberOfWeeksInView: 4,
appointmentDisplayCount: 2,
appointmentDisplayMode: MonthAppointmentDisplayMode.appointment,
showAgenda: true,
agendaViewHeight: 120,
navigationDirection: MonthNavigationDirection.horizontal),
),
);
}
Implementation
final double agendaViewHeight;