startAnnotationDrag method

void startAnnotationDrag(
  1. String annotationId
)

Starts an annotation drag operation.

Call this from AnnotationWidget's GestureDetector.onPanStart. Pan is disabled by the editor's pointer down handler before gesture arena runs.

Parameters:

  • annotationId: The ID of the annotation being dragged

Implementation

void startAnnotationDrag(String annotationId) {
  annotations.internalStartAnnotationDrag(annotationId);
}