appointmentItemHeight property
The height for each appointment view to layout within this in schedule view of SfCalendar,.
Defaults to -1
.
See also:
- appointmentTextStyle, which used to customize the text style for the text on the appointment view in calendar.
- SfCalendar.appointmentBuilder, which used to set custom widget for appointment view in calendar
- Knowledge base: How to customize appointment height in schedule view
- Knowledge base: How to view schedule
- Knowledge base: How to customize the schedule view
@override
Widget build(BuildContext context) {
return Container(
child: SfCalendar(
view: CalendarView.schedule,
scheduleViewSettings: ScheduleViewSettings(
appointmentItemHeight: 70,
),
),
);
}
Implementation
final double appointmentItemHeight;