copyWith method
Implementation
TransformData copyWith({
  double? scale,
  double? rotation,
  Offset? translate,
}) =>
    TransformData(
      scale: scale ?? this.scale,
      rotation: rotation ?? this.rotation,
      translate: translate ?? this.translate,
    );