timelineAppointmentHeight property

double timelineAppointmentHeight
final

The height for an appointment view to layout within this in timeline views of SfCalendar.

Note: It is applicable only when the calendar view set as CalendarView.timelineDay, CalendarView.timelineWeek and CalendarView.timelineWorkWeek view in SfCalendar.

See also:

Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.timelineWeek,
       timeSlotViewSettings: TimeSlotViewSettings(
           startHour: 10,
           endHour: 20,
           nonWorkingDays: <int>[
             DateTime.saturday,
             DateTime.sunday,
             DateTime.friday
           ],
           timeInterval: Duration(minutes: 120),
           timeIntervalHeight: 80,
           timelineAppointmentHeight: 50,
           timeFormat: 'h:mm',
           dateFormat: 'd',
           dayFormat: 'EEE',
           timeRulerSize: 70),
     ),
   );
 }

Implementation

final double timelineAppointmentHeight;