handleLongPressMoveUpdate method

  1. @override
void handleLongPressMoveUpdate(
  1. LongPressMoveUpdateDetails details
)

Called when moving after the long press gesture by a primary button is recognized in behavior.

Implementation

@override
void handleLongPressMoveUpdate(LongPressMoveUpdateDetails details) {
  if (parentBox == null || !enableSelectionZooming) {
    return;
  }
  final Offset position = parentBox!.globalToLocal(details.globalPosition);
  _doSelectionZooming(details, position.dx, position.dy);
  parentBox!.markNeedsPaint();
}