rotation property
The rotation factor to transform the child (image or a customChild).
Implementation
@override
double get rotation => value.rotation;
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,
);
}