copyWith method

TransformData copyWith({
  1. double? scale,
  2. double? rotation,
  3. Offset? translate,
})

Implementation

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