SfCalendarThemeData constructor
const
SfCalendarThemeData({
- Color? backgroundColor,
- TextStyle? headerTextStyle,
- Color? headerBackgroundColor,
- Color? agendaBackgroundColor,
- Color? cellBorderColor,
- TextStyle? viewHeaderDateTextStyle,
- TextStyle? viewHeaderDayTextStyle,
- Color? viewHeaderBackgroundColor,
- TextStyle? agendaDayTextStyle,
- TextStyle? agendaDateTextStyle,
- TextStyle? timeTextStyle,
- TextStyle? activeDatesTextStyle,
- Color? activeDatesBackgroundColor,
- Color? todayBackgroundColor,
- Color? trailingDatesBackgroundColor,
- Color? leadingDatesBackgroundColor,
- TextStyle? trailingDatesTextStyle,
- TextStyle? blackoutDatesTextStyle,
- TextStyle? displayNameTextStyle,
- TextStyle? leadingDatesTextStyle,
- TextStyle? todayTextStyle,
- Color? todayHighlightColor,
- Color? weekNumberBackgroundColor,
- Color? selectionBorderColor,
- TextStyle? weekNumberTextStyle,
- TextStyle? timeIndicatorTextStyle,
- Color? allDayPanelColor,
Create a SfCalendarThemeData given a set of exact values. All the values must be specified.
This will rarely be used directly. It is used by lerp to create intermediate themes based on two themes created with the SfCalendarThemeData constructor.
Implementation
const SfCalendarThemeData(
{this.backgroundColor,
this.headerTextStyle,
this.headerBackgroundColor,
this.agendaBackgroundColor,
this.cellBorderColor,
this.viewHeaderDateTextStyle,
this.viewHeaderDayTextStyle,
this.viewHeaderBackgroundColor,
this.agendaDayTextStyle,
this.agendaDateTextStyle,
this.timeTextStyle,
this.activeDatesTextStyle,
this.activeDatesBackgroundColor,
this.todayBackgroundColor,
this.trailingDatesBackgroundColor,
this.leadingDatesBackgroundColor,
this.trailingDatesTextStyle,
this.blackoutDatesTextStyle,
this.displayNameTextStyle,
this.leadingDatesTextStyle,
this.todayTextStyle,
this.todayHighlightColor,
this.weekNumberBackgroundColor,
this.selectionBorderColor,
this.weekNumberTextStyle,
this.timeIndicatorTextStyle,
this.allDayPanelColor});