scroll abstract method

Future<void> scroll({
  1. int? x,
  2. int? y,
})

Scrolls this element in x and/or y direction by pixels.

ScrollOptions is currently not supported. https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll

Implementation

Future<void> scroll({int? x, int? y});