copyWith method

PolylineHandleOptions copyWith({
  1. double? size,
  2. Color? color,
  3. Color? borderColor,
  4. double? borderWidth,
  5. Color? activeColor,
  6. Color? activeBorderColor,
  7. double? activeBorderWidth,
  8. double? touchSizeFactor,
})

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,
  );
}