Path shift(Offset offset)

Returns a copy of the path with all the segments of every subpath translated by the given offset.

Source

Path shift(Offset offset) => _shift(offset.dx, offset.dy);