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