Flutter: How matrix_gesture_detector rotate in Linux (Ubuntu)? - flutter

I want to make an APP that can zoom in, zoom out and rotate by the gesture.
I found the package: matrix_gesture_detector that can work perfectly in Android but I don't know how to make it rotate in the Linux (Ubuntu 20.04) app, I tried to use the mouse and hold "Ctrl", "Shift", and "Alt" but it can't rotate (only zoom in-out). In Android, I can use 2 fingers to zoom and rotate.
I tried this example

Related

flutter_map zooming and pannig is freezing

I'm developing a flutter web application using https://pub.dev/packages/flutter_map, to load some shapes in geojson format. Everything is fine when the user zooms in or out, but when trying to pan the map (panning behavior), it doesn't seem to move until I zoom again.
Any helps?
Thanks.

Black bar on top and bottom of screen in Samsung Galaxy S 8

My game, developed with Unity, runs in portrait and full-screen mode. There is no problem in any device except Samsung Galaxy S8, in which the full-screen mode doesn't exactly work and as you can see in the attached picture, there are black bars on the top and bottom of the screen (assume the white part is the game area). Funny part is there is absolutely no problem in S8+, which I believe has the same exact aspect ratio (18.5:9). What should I do? I am using Unity 5.6.6 and can't upgrade it.
Add (and familiarize yourself with) a CanvasScaler component to your Canvas.

Xamarin.Forms detecting vertical/horizontal zoom on chart

I am using XF and sfchart and I want to detect the zooming direction and set the zoom mode based on it, I mean if the user starts zooming vertically I want to zoom mode to be set on Y axis and when they zoom horizontally I want to set it on X axis. Is there anyway to detect the zoom direction?

How to use rotate 3D in a matlab figure without losing focus?

So basically, I'm using matlab to simulate several lines and points in a plot3 figure.
When I'm trying to navigate the result using then "pan" command, I want to focus on a particular part, but EACH time I try to rotate around the point I'm focusing, I lose the focus and it rotates around the center of the figure. Is there any way to keep the focus when switching between commands to rotate 3d?.
When I use zoom and then I use pan, I don't lose the focus.
When I use pan and then I use zoom, I don't lose the focus.
When I use pan and then rotate 3d, I lose the focus, and I rotate around the center of the plot/figure.
When I use zoom and pan and then rotate 3d, I lose the focus, and I rotate around the center of the plot/figure.
Is there something wrong with the rotate 3d command? Is there an option I can change?
Thank you!

zoom out in MKMapView

When you double tap on MKMapView : zoom in.
But how to zoom out??
There's always using two fingers to zoom in and out. On the emulator you need to hold down an option key to get 'two fingers' appear on the emulated screen (I think it's the Alt key but I use a PC keyboard on my mac so may differ on a real mac keyboard)
As for doing it procedurally you need to set the region on the mapkit.
via the setRegion method of your MKMapKit object.
Make sure you're within bounds though as it will cause a crash if not. (i.e. long -180