onPanEnd method
Implementation
void onPanEnd(DragEndDetails details) {
left.value = getValue(left.value, maxX);
top.value = getValue(top.value, maxY);
_adsorb();
}
void onPanEnd(DragEndDetails details) {
left.value = getValue(left.value, maxX);
top.value = getValue(top.value, maxY);
_adsorb();
}