SfChartThemeData.raw constructor
SfChartThemeData.raw({
- Brightness? brightness,
- Color? backgroundColor,
- Color? axisLabelColor,
- Color? axisTitleColor,
- Color? axisLineColor,
- Color? majorGridLineColor,
- Color? minorGridLineColor,
- Color? majorTickLineColor,
- Color? minorTickLineColor,
- Color? titleTextColor,
- Color? titleBackgroundColor,
- Color? legendTextColor,
- Color? legendTitleColor,
- Color? legendBackgroundColor,
- Color? plotAreaBackgroundColor,
- Color? plotAreaBorderColor,
- Color? crosshairLineColor,
- Color? crosshairBackgroundColor,
- Color? crosshairLabelColor,
- Color? tooltipColor,
- Color? tooltipLabelColor,
- Color? tooltipSeparatorColor,
- Color? selectionRectColor,
- Color? selectionRectBorderColor,
- Color? selectionTooltipConnectorLineColor,
- Color? waterfallConnectorLineColor,
- TextStyle? titleTextStyle,
- TextStyle? axisTitleTextStyle,
- TextStyle? axisLabelTextStyle,
- TextStyle? axisMultiLevelLabelTextStyle,
- TextStyle? plotBandLabelTextStyle,
- TextStyle? legendTitleTextStyle,
- TextStyle? legendTextStyle,
- TextStyle? dataLabelTextStyle,
- TextStyle? tooltipTextStyle,
- TextStyle? trackballTextStyle,
- TextStyle? crosshairTextStyle,
- TextStyle? selectionZoomingTooltipTextStyle,
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
factory SfChartThemeData.raw({
Brightness? brightness,
Color? backgroundColor,
Color? axisLabelColor,
Color? axisTitleColor,
Color? axisLineColor,
Color? majorGridLineColor,
Color? minorGridLineColor,
Color? majorTickLineColor,
Color? minorTickLineColor,
Color? titleTextColor,
Color? titleBackgroundColor,
Color? legendTextColor,
Color? legendTitleColor,
Color? legendBackgroundColor,
Color? plotAreaBackgroundColor,
Color? plotAreaBorderColor,
Color? crosshairLineColor,
Color? crosshairBackgroundColor,
Color? crosshairLabelColor,
Color? tooltipColor,
Color? tooltipLabelColor,
Color? tooltipSeparatorColor,
Color? selectionRectColor,
Color? selectionRectBorderColor,
Color? selectionTooltipConnectorLineColor,
Color? waterfallConnectorLineColor,
TextStyle? titleTextStyle,
TextStyle? axisTitleTextStyle,
TextStyle? axisLabelTextStyle,
TextStyle? axisMultiLevelLabelTextStyle,
TextStyle? plotBandLabelTextStyle,
TextStyle? legendTitleTextStyle,
TextStyle? legendTextStyle,
TextStyle? dataLabelTextStyle,
TextStyle? tooltipTextStyle,
TextStyle? trackballTextStyle,
TextStyle? crosshairTextStyle,
TextStyle? selectionZoomingTooltipTextStyle,
}) {
brightness = brightness ?? Brightness.light;
return SfChartThemeData(
axisLabelColor: axisLabelColor,
axisLineColor: axisLineColor,
axisTitleColor: axisTitleColor,
backgroundColor: backgroundColor,
titleTextColor: titleTextColor,
crosshairBackgroundColor: crosshairBackgroundColor,
crosshairLabelColor: crosshairLabelColor,
crosshairLineColor: crosshairLineColor,
legendBackgroundColor: legendBackgroundColor,
legendTextColor: legendTextColor,
legendTitleColor: legendTitleColor,
majorGridLineColor: majorGridLineColor,
majorTickLineColor: majorTickLineColor,
minorGridLineColor: minorGridLineColor,
minorTickLineColor: minorTickLineColor,
plotAreaBackgroundColor: plotAreaBackgroundColor,
plotAreaBorderColor: plotAreaBorderColor,
selectionRectColor: selectionRectColor,
selectionRectBorderColor: selectionRectBorderColor,
selectionTooltipConnectorLineColor: selectionTooltipConnectorLineColor,
titleBackgroundColor: titleBackgroundColor,
tooltipColor: tooltipColor,
tooltipSeparatorColor: tooltipSeparatorColor,
tooltipLabelColor: tooltipLabelColor,
waterfallConnectorLineColor: waterfallConnectorLineColor,
titleTextStyle: titleTextStyle,
axisTitleTextStyle: axisTitleTextStyle,
axisLabelTextStyle: axisLabelTextStyle,
axisMultiLevelLabelTextStyle: axisMultiLevelLabelTextStyle,
plotBandLabelTextStyle: plotBandLabelTextStyle,
legendTitleTextStyle: legendTitleTextStyle,
legendTextStyle: legendTextStyle,
dataLabelTextStyle: dataLabelTextStyle,
tooltipTextStyle: tooltipTextStyle,
trackballTextStyle: trackballTextStyle,
crosshairTextStyle: crosshairTextStyle,
selectionZoomingTooltipTextStyle: selectionZoomingTooltipTextStyle,
);
}