SfCalendarThemeData constructor

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