setView method
Set the view position directly (offset + scale) without triggering auto-fit. Used to restore a cached view position.
Implementation
void setView({required Offset offset, required double scale}) {
_pendingAutoFitSkips++;
_setViewTransform(scale, offset);
}