ScheduleViewSettings constructor Null safety
- {TextStyle? appointmentTextStyle,
- double appointmentItemHeight = -1,
- bool hideEmptyScheduleWeek = false,
- MonthHeaderSettings monthHeaderSettings = const MonthHeaderSettings(),
- WeekHeaderSettings weekHeaderSettings = const WeekHeaderSettings(),
- DayHeaderSettings dayHeaderSettings = const DayHeaderSettings()}
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()})
: assert(appointmentItemHeight >= -1);