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