update method

void update(
  1. UserTransform other
)

Takes every field from other and notifies.

Implementation

void update(UserTransform other) {
  offset = other.offset;
  scale = other.scale;
  rotateZ = other.rotateZ;
  flipX = other.flipX;
  activeRotateZ = other.activeRotateZ;
  activeScale = other.activeScale;
  notifyListeners();
}