SfDateRangePickerThemeData.raw constructor

const SfDateRangePickerThemeData.raw({
  1. required Brightness? brightness,
  2. required Color? backgroundColor,
  3. required TextStyle? viewHeaderTextStyle,
  4. required TextStyle? headerTextStyle,
  5. required TextStyle? trailingDatesTextStyle,
  6. required TextStyle? leadingCellTextStyle,
  7. required TextStyle? activeDatesTextStyle,
  8. required TextStyle? cellTextStyle,
  9. required TextStyle? rangeSelectionTextStyle,
  10. required Color? rangeSelectionColor,
  11. required TextStyle? leadingDatesTextStyle,
  12. required TextStyle? disabledDatesTextStyle,
  13. required TextStyle? disabledCellTextStyle,
  14. required Color? selectionColor,
  15. required TextStyle? selectionTextStyle,
  16. required Color? startRangeSelectionColor,
  17. required Color? endRangeSelectionColor,
  18. required Color? headerBackgroundColor,
  19. required Color? viewHeaderBackgroundColor,
  20. required Color? weekNumberBackgroundColor,
  21. required TextStyle? blackoutDatesTextStyle,
  22. required Color? todayHighlightColor,
  23. required TextStyle? todayTextStyle,
  24. required TextStyle? todayCellTextStyle,
  25. required TextStyle? weekendDatesTextStyle,
  26. required TextStyle? specialDatesTextStyle,
  27. required TextStyle? weekNumberTextStyle,
})

Create a SfDateRangePickerThemeData 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 SfDateRangePickerThemeData constructor.

Implementation

const SfDateRangePickerThemeData.raw(
    {required this.brightness,
    required this.backgroundColor,
    required this.viewHeaderTextStyle,
    required this.headerTextStyle,
    required this.trailingDatesTextStyle,
    required this.leadingCellTextStyle,
    required this.activeDatesTextStyle,
    required this.cellTextStyle,
    required this.rangeSelectionTextStyle,
    required this.rangeSelectionColor,
    required this.leadingDatesTextStyle,
    required this.disabledDatesTextStyle,
    required this.disabledCellTextStyle,
    required this.selectionColor,
    required this.selectionTextStyle,
    required this.startRangeSelectionColor,
    required this.endRangeSelectionColor,
    required this.headerBackgroundColor,
    required this.viewHeaderBackgroundColor,
    required this.weekNumberBackgroundColor,
    required this.blackoutDatesTextStyle,
    required this.todayHighlightColor,
    required this.todayTextStyle,
    required this.todayCellTextStyle,
    required this.weekendDatesTextStyle,
    required this.specialDatesTextStyle,
    required this.weekNumberTextStyle});