I want to make a container which can be dragged around, zoom and rotate. I am able to achieve a zoom. Below is my code:
//variable declaration double _scal
use Matrix Gesture Detector package1 package, here you have the basic sample:
MatrixGestureDetector( onMatrixUpdate: (m, tm, sm, rm) { setState(() { matrix = n; }); }, child: Transform( transform: matrix, child: .... ), ),
for more sample code refer to example folder that contains 6 demos
example