ScheduleViewSettings constructor

const ScheduleViewSettings({
  1. TextStyle? appointmentTextStyle,
  2. double appointmentItemHeight = -1,
  3. bool hideEmptyScheduleWeek = false,
  4. MonthHeaderSettings monthHeaderSettings = const MonthHeaderSettings(),
  5. WeekHeaderSettings weekHeaderSettings = const WeekHeaderSettings(),
  6. DayHeaderSettings dayHeaderSettings = const DayHeaderSettings(),
  7. TextStyle placeholderTextStyle = const TextStyle(color: Colors.grey, fontSize: 15),
})

Creates a schedule view settings for calendar.

The properties allows to customize the schedule view of SfCalendar.

Implementation

const ScheduleViewSettings({
  this.appointmentTextStyle,
  this.appointmentItemHeight = -1,
  this.hideEmptyScheduleWeek = false,
  this.monthHeaderSettings = const MonthHeaderSettings(),
  this.weekHeaderSettings = const WeekHeaderSettings(),
  this.dayHeaderSettings = const DayHeaderSettings(),
  this.placeholderTextStyle = const TextStyle(
    color: Colors.grey,
    fontSize: 15,
  ),
}) : assert(appointmentItemHeight >= -1);