onPanEnd method

void onPanEnd(
  1. DragEndDetails e
)

Implementation

void onPanEnd(DragEndDetails e) {
  _firstPoint = null;
  _movePoint = null;
  _onFinishGesture?.call(_gestureIndex);
  for (var e in _points) {
    e.selected = false;
  }
  _gestureIndex.clear();
  _pathPoint.clear();
  _updateView?.call();
}