setBackgroundImagePosition method
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
@override
Future<void> setBackgroundImagePosition(double x, double y,
{bool clamp = false}) async {
await _shim.setBackgroundImagePosition(x, y, clamp).toDart;
}