scheduleViewSettings property

ScheduleViewSettings scheduleViewSettings
final

The settings have properties which allow to customize the schedule view of the SfCalendar.

Allows to customize the ScheduleViewSettings.monthHeaderSettings, ScheduleViewSettings.weekHeaderSettings, ScheduleViewSettings.dayHeaderSettings, ScheduleViewSettings.appointmentTextStyle, ScheduleViewSettings.appointmentItemHeight and ScheduleViewSettings.hideEmptyScheduleWeek in schedule view of calendar.

See also:


@override
 Widget build(BuildContext context) {
   return Container(
     child: SfCalendar(
       view: CalendarView.schedule,
       scheduleViewSettings: ScheduleViewSettings(
           appointmentItemHeight: 60,
           weekHeaderSettings: WeekHeaderSettings(
             height: 40,
             textAlign: TextAlign.center,
           )),
     ),
   );
 }

Implementation

final ScheduleViewSettings scheduleViewSettings;