SfCalendarThemeData constructor

SfCalendarThemeData(
  1. {Brightness? brightness,
  2. Color? backgroundColor,
  3. Color? headerBackgroundColor,
  4. Color? agendaBackgroundColor,
  5. Color? cellBorderColor,
  6. Color? activeDatesBackgroundColor,
  7. Color? todayBackgroundColor,
  8. Color? trailingDatesBackgroundColor,
  9. Color? leadingDatesBackgroundColor,
  10. Color? selectionBorderColor,
  11. Color? todayHighlightColor,
  12. Color? viewHeaderBackgroundColor,
  13. Color? weekNumberBackgroundColor,
  14. Color? allDayPanelColor,
  15. TextStyle? todayTextStyle,
  16. TextStyle? agendaDayTextStyle,
  17. TextStyle? agendaDateTextStyle,
  18. TextStyle? headerTextStyle,
  19. TextStyle? viewHeaderDateTextStyle,
  20. TextStyle? viewHeaderDayTextStyle,
  21. TextStyle? timeTextStyle,
  22. TextStyle? activeDatesTextStyle,
  23. TextStyle? trailingDatesTextStyle,
  24. TextStyle? leadingDatesTextStyle,
  25. TextStyle? blackoutDatesTextStyle,
  26. TextStyle? displayNameTextStyle,
  27. TextStyle? weekNumberTextStyle,
  28. 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);
}