resetTransformation method

void resetTransformation()

Implementation

void resetTransformation() {
  scaleFactor = 1;
  x = 0;
  y = 0;
  setState(() {});
}