updateTapLocation method

void updateTapLocation(
  1. Offset details
)

Implementation

void updateTapLocation(Offset details) {
  if(!isControlPressed){
    objectTappedOn = [];
    currentSize = null;
    isClicked = false;
  }
  tapLocation = details;
  update();
}