moveBy method

Future<void> moveBy (Offset offset, { Duration timeStamp: Duration.zero })

Send a move event moving the pointer by the given offset.

Implementation

Future<void> moveBy(Offset offset, { Duration timeStamp = Duration.zero }) {
  assert(_pointer._isDown);
  return moveTo(_pointer.location + offset, timeStamp: timeStamp);
}