offsetBy method

void offsetBy({
  1. required double offsetX,
  2. required double offsetY,
})

Moves the builder's envelope geometry by the given offsets in the x and y dimension.

Parameters:

  • offsetX — The number of units to move the envelope on the x axis.
  • offsetY — The number of units to move the envelope on the y axis.