copyWith method

FillerConfig copyWith({
  1. DrawConfig? drawConfig,
  2. double? fillWeight,
  3. double? hachureAngle,
  4. double? hachureGap,
  5. double? dashOffset,
  6. double? dashGap,
  7. double? zigzagOffset,
})

Implementation

FillerConfig copyWith({
  DrawConfig? drawConfig,
  double? fillWeight,
  double? hachureAngle,
  double? hachureGap,
  double? dashOffset,
  double? dashGap,
  double? zigzagOffset,
}) =>
    FillerConfig._(
      drawConfig: drawConfig ?? _drawConfig,
      fillWeight: fillWeight ?? this.fillWeight,
      hachureAngle: hachureAngle ?? this.hachureAngle,
      hachureGap: hachureGap ?? this.hachureGap,
      dashOffset: dashOffset ?? this.dashOffset,
      dashGap: dashGap ?? this.dashGap,
      zigzagOffset: zigzagOffset ?? this.zigzagOffset,
    );