offsetBy method

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

Offsets the point by the given offsets for the x and y dimension.

Parameters:

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