SfCalendarThemeData.raw constructor

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