rotationFocusPoint property
The center of the rotation transformation. It is a coordinate referring to the absolute dimensions of the image.
Implementation
@override
Offset? get rotationFocusPoint => value.rotationFocusPoint;
The center of the rotation transformation. It is a coordinate referring to the absolute dimensions of the image.
Implementation
@override
set rotationFocusPoint(Offset? rotationFocusPoint) {
if (value.rotationFocusPoint == rotationFocusPoint) {
return;
}
prevValue = value;
value = PhotoViewControllerValue(
position: position,
scale: scale,
rotation: rotation,
rotationFocusPoint: rotationFocusPoint,
);
}