onLongPress method

bool onLongPress(
  1. Offset localPosition
)
inherited

Handles long press event. Returns true if the long press was handled by a drawing tool, false otherwise.

Implementation

bool onLongPress(Offset localPosition) {
  // Default implementation returns false
  // Subclasses can override this to provide specific long press handling logic
  return false;
}