copyVerticalLineWith method
VerticalLine
copyVerticalLineWith({
- double? x,
- VerticalLineLabel? label,
- Color? color,
- double? strokeWidth,
- List<
int> ? dashArray, - Image? image,
- SizedPicture? sizedPicture,
- StrokeCap? strokeCap,
Copies current VerticalLine to a new VerticalLine and replaces provided values.
Implementation
VerticalLine copyVerticalLineWith({
double? x,
VerticalLineLabel? label,
Color? color,
double? strokeWidth,
List<int>? dashArray,
Image? image,
SizedPicture? sizedPicture,
StrokeCap? strokeCap,
}) {
return VerticalLine(
x: x ?? this.x,
label: label ?? this.label,
color: color ?? this.color,
strokeWidth: strokeWidth ?? this.strokeWidth,
dashArray: dashArray ?? this.dashArray,
image: image ?? this.image,
sizedPicture: sizedPicture ?? this.sizedPicture,
strokeCap: strokeCap ?? this.strokeCap,
);
}