copyWith method
Creates a copy of the current object with new values specified in arguments.
Implementation
DonutChartBackgroundStyle copyWith({
Color? color,
Color? shadowColor,
double? shadowElevation,
Color? innerBorderColor,
Gradient? innerBorderGradient,
double? innerBorderStroke,
Color? outerBorderColor,
Gradient? outerBorderGradient,
double? outerBorderStroke,
}) =>
DonutChartBackgroundStyle(
color: color ?? this.color,
shadowColor: shadowColor ?? this.shadowColor,
shadowElevation: shadowElevation ?? this.shadowElevation,
innerBorderColor: innerBorderColor ?? this.innerBorderColor,
innerBorderGradient: innerBorderGradient ?? this.innerBorderGradient,
innerBorderStroke: innerBorderStroke ?? this.innerBorderStroke,
outerBorderColor: outerBorderColor ?? this.outerBorderColor,
outerBorderGradient: outerBorderGradient ?? this.outerBorderGradient,
outerBorderStroke: outerBorderStroke ?? this.outerBorderStroke,
);