rotation property

  1. @override
double get rotation
override

The rotation factor to transform the child (image or a customChild).

Implementation

@override
double get rotation => value.rotation;
  1. @override
set rotation (double rotation)
override

The rotation factor to transform the child (image or a customChild).

Implementation

@override
set rotation(double rotation) {
  if (value.rotation == rotation) {
    return;
  }
  prevValue = value;
  value = PhotoViewControllerValue(
    position: position,
    scale: scale,
    rotation: rotation,
    rotationFocusPoint: rotationFocusPoint,
  );
}