dragBy method

void dragBy(
  1. Offset delta
)

Feeds a pointer delta 1:1: the whole container - surface, shadow, content, shared elements - moves as one rigid body.

Implementation

void dragBy(Offset delta) {
  if (_finished) {
    return;
  }
  _drag.moveBy(delta);
}