Intially I tried to zoom the InteractiveViewer using the _transformationController but that doesn't work when the viewer was zoomed before using the mouse. It loses the center position.
Now I do a fake pointer event to zoom. It works flawless, even without a postFrameCallback
https://github.com/user-attachments/assets/291bcdf4-3e7d-4fee-b576-335ab8d978dd
Intially I tried to zoom the InteractiveViewer using the
_transformationController
but that doesn't work when the viewer was zoomed before using the mouse. It loses the center position.Now I do a fake pointer event to zoom. It works flawless, even without a postFrameCallback