SfCalendarThemeData constructor
SfCalendarThemeData({
- Brightness? brightness,
- Color? backgroundColor,
- Color? headerBackgroundColor,
- Color? agendaBackgroundColor,
- Color? cellBorderColor,
- Color? activeDatesBackgroundColor,
- Color? todayBackgroundColor,
- Color? trailingDatesBackgroundColor,
- Color? leadingDatesBackgroundColor,
- Color? selectionBorderColor,
- Color? todayHighlightColor,
- Color? viewHeaderBackgroundColor,
- Color? weekNumberBackgroundColor,
- Color? allDayPanelColor,
- TextStyle? todayTextStyle,
- TextStyle? agendaDayTextStyle,
- TextStyle? agendaDateTextStyle,
- TextStyle? headerTextStyle,
- TextStyle? viewHeaderDateTextStyle,
- TextStyle? viewHeaderDayTextStyle,
- TextStyle? timeTextStyle,
- TextStyle? activeDatesTextStyle,
- TextStyle? trailingDatesTextStyle,
- TextStyle? leadingDatesTextStyle,
- TextStyle? blackoutDatesTextStyle,
- TextStyle? displayNameTextStyle,
- TextStyle? weekNumberTextStyle,
- TextStyle? timeIndicatorTextStyle,
Create a SfCalendarThemeData that's used to configure a SfCalendarTheme.
Implementation
factory SfCalendarThemeData({
Brightness? brightness,
Color? backgroundColor,
Color? headerBackgroundColor,
Color? agendaBackgroundColor,
Color? cellBorderColor,
Color? activeDatesBackgroundColor,
Color? todayBackgroundColor,
Color? trailingDatesBackgroundColor,
Color? leadingDatesBackgroundColor,
Color? selectionBorderColor,
Color? todayHighlightColor,
Color? viewHeaderBackgroundColor,
Color? weekNumberBackgroundColor,
Color? allDayPanelColor,
TextStyle? todayTextStyle,
TextStyle? agendaDayTextStyle,
TextStyle? agendaDateTextStyle,
TextStyle? headerTextStyle,
TextStyle? viewHeaderDateTextStyle,
TextStyle? viewHeaderDayTextStyle,
TextStyle? timeTextStyle,
TextStyle? activeDatesTextStyle,
TextStyle? trailingDatesTextStyle,
TextStyle? leadingDatesTextStyle,
TextStyle? blackoutDatesTextStyle,
TextStyle? displayNameTextStyle,
TextStyle? weekNumberTextStyle,
TextStyle? timeIndicatorTextStyle,
}) {
return SfCalendarThemeData.raw(
brightness: brightness,
backgroundColor: backgroundColor,
headerTextStyle: headerTextStyle,
headerBackgroundColor: headerBackgroundColor,
agendaBackgroundColor: agendaBackgroundColor,
viewHeaderDateTextStyle: viewHeaderDateTextStyle,
viewHeaderDayTextStyle: viewHeaderDayTextStyle,
agendaDayTextStyle: agendaDayTextStyle,
agendaDateTextStyle: agendaDateTextStyle,
cellBorderColor: cellBorderColor,
timeTextStyle: timeTextStyle,
activeDatesTextStyle: activeDatesTextStyle,
activeDatesBackgroundColor: activeDatesBackgroundColor,
todayBackgroundColor: todayBackgroundColor,
trailingDatesBackgroundColor: trailingDatesBackgroundColor,
leadingDatesBackgroundColor: leadingDatesBackgroundColor,
allDayPanelColor: allDayPanelColor,
trailingDatesTextStyle: trailingDatesTextStyle,
blackoutDatesTextStyle: blackoutDatesTextStyle,
displayNameTextStyle: displayNameTextStyle,
leadingDatesTextStyle: leadingDatesTextStyle,
todayTextStyle: todayTextStyle,
todayHighlightColor: todayHighlightColor,
viewHeaderBackgroundColor: viewHeaderBackgroundColor,
weekNumberBackgroundColor: weekNumberBackgroundColor,
selectionBorderColor: selectionBorderColor,
weekNumberTextStyle: weekNumberTextStyle,
timeIndicatorTextStyle: timeIndicatorTextStyle);
}