onPanUpdate method
Implementation
void onPanUpdate(DragUpdateDetails e) {
if (_firstPoint == null) return;
_movePoint = e.localPosition;
for (var item in _points) {
if (item.containPoint(e.localPosition)) {
if (!item.selected) {
item.selected = true;
_pathPoint.add(item.centerPoint);
_gestureIndex.add(item.index);
}
break;
}
}
_updateView?.call();
}