shift method

void shift(
  1. Offset offset
)

Implementation

void shift(Offset offset) {
  move(dx: offset.dx, dy: offset.dy);
}