ScheduleViewSettings class Null safety

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

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


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

Mixed in types
Annotations

Constructors

ScheduleViewSettings({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. [...]
const

Properties

appointmentItemHeight double
The height for each appointment view to layout within this in schedule view of SfCalendar,. [...]
final
appointmentTextStyle TextStyle?
The text style for the text in the Appointment view in SfCalendar schedule view. [...]
final
dayHeaderSettings DayHeaderSettings
Sets the style to customize day label in SfCalendar schedule view. [...]
final
hashCode int
The hash code for this object. [...]
read-only, override
hideEmptyScheduleWeek bool
Hides the weeks that doesn’t contain appointment on it. [...]
final
monthHeaderSettings MonthHeaderSettings
Sets the style to customize month label in SfCalendar schedule view. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
weekHeaderSettings WeekHeaderSettings
Sets the style to customize week label in SfCalendar schedule view. [...]
final

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep. [...]
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object. [...]
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override