SfChartThemeData.raw constructor

const SfChartThemeData.raw({
  1. required Brightness brightness,
  2. required Color axisLabelColor,
  3. required Color axisLineColor,
  4. required Color axisTitleColor,
  5. required Color backgroundColor,
  6. required Color titleTextColor,
  7. required Color crosshairBackgroundColor,
  8. required Color crosshairLabelColor,
  9. required Color crosshairLineColor,
  10. required Color legendBackgroundColor,
  11. required Color legendTextColor,
  12. required Color legendTitleColor,
  13. required Color majorGridLineColor,
  14. required Color majorTickLineColor,
  15. required Color minorGridLineColor,
  16. required Color minorTickLineColor,
  17. required Color plotAreaBackgroundColor,
  18. required Color plotAreaBorderColor,
  19. required Color selectionRectColor,
  20. required Color selectionRectBorderColor,
  21. required Color selectionTooltipConnectorLineColor,
  22. required Color titleBackgroundColor,
  23. required Color tooltipColor,
  24. required Color tooltipSeparatorColor,
  25. required Color tooltipLabelColor,
  26. required Color waterfallConnectorLineColor,
})

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

Implementation

const SfChartThemeData.raw(
    {required this.brightness,
    required this.axisLabelColor,
    required this.axisLineColor,
    required this.axisTitleColor,
    required this.backgroundColor,
    required this.titleTextColor,
    required this.crosshairBackgroundColor,
    required this.crosshairLabelColor,
    required this.crosshairLineColor,
    required this.legendBackgroundColor,
    required this.legendTextColor,
    required this.legendTitleColor,
    required this.majorGridLineColor,
    required this.majorTickLineColor,
    required this.minorGridLineColor,
    required this.minorTickLineColor,
    required this.plotAreaBackgroundColor,
    required this.plotAreaBorderColor,
    required this.selectionRectColor,
    required this.selectionRectBorderColor,
    required this.selectionTooltipConnectorLineColor,
    required this.titleBackgroundColor,
    required this.tooltipColor,
    required this.tooltipSeparatorColor,
    required this.tooltipLabelColor,
    required this.waterfallConnectorLineColor});