copyWith method
Implementation
FlGridStyle copyWith({
double? gridSpacingX,
double? gridSpacingY,
double? lineWidth,
Color? lineColor,
Color? intersectionColor,
double? intersectionRadius,
bool? showGrid,
}) {
return FlGridStyle(
gridSpacingX: gridSpacingX ?? this.gridSpacingX,
gridSpacingY: gridSpacingY ?? this.gridSpacingY,
lineWidth: lineWidth ?? this.lineWidth,
lineColor: lineColor ?? this.lineColor,
intersectionColor: intersectionColor ?? this.intersectionColor,
intersectionRadius: intersectionRadius ?? this.intersectionRadius,
showGrid: showGrid ?? this.showGrid,
);
}