SfDateRangePickerThemeData constructor

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