copy method

Implementation

CropCornerPainter copy() {
  return CropCornerPainter(
    drawCircle: drawCircle,
    offset: offset,
    cropRect: cropRect,
    fadeInOpacity: fadeInOpacity,
    interactionOpacity: interactionOpacity,
    viewRect: viewRect,
    screenSize: screenSize,
    scaleFactor: scaleFactor,
    imageEditorTheme: imageEditorTheme,
    cornerLength: cornerLength,
    cornerThickness: cornerThickness,
    rotationScaleFactor: rotationScaleFactor,
  );
}