copyWith method

IconParkProps copyWith({
  1. Color? color1,
  2. Color? color2,
  3. Color? color3,
  4. Color? color4,
  5. double? strokeWidth,
  6. StrokeJoin? strokeLineJoin,
  7. StrokeCap? strokeLineCap,
  8. bool? useCurrentColor,
})

Implementation

IconParkProps copyWith({
  Color? color1,
  Color? color2,
  Color? color3,
  Color? color4,
  double? strokeWidth,
  StrokeJoin? strokeLineJoin,
  StrokeCap? strokeLineCap,
  bool? useCurrentColor,
}) {
  return IconParkProps(
    color1: color1 ?? this.color1,
    color2: color2 ?? this.color2,
    color3: color3 ?? this.color3,
    color4: color4 ?? this.color4,
    strokeWidth: strokeWidth ?? this.strokeWidth,
    strokeLineJoin: strokeLineJoin ?? this.strokeLineJoin,
    strokeLineCap: strokeLineCap ?? this.strokeLineCap,
    theme: theme,
  );
}