copyWith method
Implementation
PolylineHandleOptions copyWith({
double? size,
Color? color,
Color? borderColor,
double? borderWidth,
Color? activeColor,
Color? activeBorderColor,
double? activeBorderWidth,
double? touchSizeFactor,
}) {
return PolylineHandleOptions(
size: size ?? this.size,
color: color ?? this.color,
borderColor: borderColor ?? this.borderColor,
borderWidth: borderWidth ?? this.borderWidth,
activeColor: activeColor ?? this.activeColor,
activeBorderColor: activeBorderColor ?? this.activeBorderColor,
activeBorderWidth: activeBorderWidth ?? this.activeBorderWidth,
touchSizeFactor: touchSizeFactor ?? this.touchSizeFactor,
);
}