setBackgroundImagePosition abstract method

Future setBackgroundImagePosition(
  1. double x,
  2. double y, {
  3. bool clamp = false,
})

Moves the background image to the relative offset from the origin (bottom-left) specified by x and y. If clamp is true, the image cannot be positioned outside the bounds of the viewport.

Implementation

Future setBackgroundImagePosition(double x, double y, {bool clamp = false});