copyWith method
FluentCartesianChartStyle
copyWith({
- WidgetStateProperty<
TextStyle?> ? axisTextStyle, - WidgetStateProperty<
Color?> ? axisLineColor, - WidgetStateProperty<
Color?> ? gridLineColor, - WidgetStateProperty<
double?> ? gridLineOpacity, - WidgetStateProperty<
TextStyle?> ? axisTitleStyle, - WidgetStateProperty<
EdgeInsetsGeometry?> ? legendRowPadding, - WidgetStateProperty<
EdgeInsetsGeometry?> ? plotPadding, - WidgetStateProperty<
double?> ? dimmedOpacity, - WidgetStateProperty<
Color?> ? tooltipBackgroundColor, - WidgetStateProperty<
BorderRadius?> ? tooltipBorderRadius,
This style with the given properties replaced.
Implementation
FluentCartesianChartStyle copyWith({
WidgetStateProperty<TextStyle?>? axisTextStyle,
WidgetStateProperty<Color?>? axisLineColor,
WidgetStateProperty<Color?>? gridLineColor,
WidgetStateProperty<double?>? gridLineOpacity,
WidgetStateProperty<TextStyle?>? axisTitleStyle,
WidgetStateProperty<EdgeInsetsGeometry?>? legendRowPadding,
WidgetStateProperty<EdgeInsetsGeometry?>? plotPadding,
WidgetStateProperty<double?>? dimmedOpacity,
WidgetStateProperty<Color?>? tooltipBackgroundColor,
WidgetStateProperty<BorderRadius?>? tooltipBorderRadius,
}) => FluentCartesianChartStyle(
axisTextStyle: axisTextStyle ?? this.axisTextStyle,
axisLineColor: axisLineColor ?? this.axisLineColor,
gridLineColor: gridLineColor ?? this.gridLineColor,
gridLineOpacity: gridLineOpacity ?? this.gridLineOpacity,
axisTitleStyle: axisTitleStyle ?? this.axisTitleStyle,
legendRowPadding: legendRowPadding ?? this.legendRowPadding,
plotPadding: plotPadding ?? this.plotPadding,
dimmedOpacity: dimmedOpacity ?? this.dimmedOpacity,
tooltipBackgroundColor:
tooltipBackgroundColor ?? this.tooltipBackgroundColor,
tooltipBorderRadius: tooltipBorderRadius ?? this.tooltipBorderRadius,
);