Flutter PhotoView - Rotation about the point between the fingers
问题 I am using PhotoView (https://pub.dev/packages/photo_view) to showcase a map saved in gif format. I need the ability to zoom and rotate. My code: class MapView extends StatelessWidget { @override Widget build(BuildContext context) { return PhotoView( imageProvider: AssetImage("assets/maps/my_map.gif"), enableRotation: true, backgroundDecoration: BoxDecoration( color: Colors.white, ), ); } } The problem is that the picture is rotated relative to the center of the picture, which is inconvenient