scroll method

void scroll([
  1. dynamic optionsOrX,
  2. dynamic y,
  3. Map? scrollOptions
])

Scrolls the page horizontally and vertically to a specific point.

This method is identical to scrollTo.

Other resources

Implementation

void scroll([dynamic optionsOrX, y, Map? scrollOptions]) {
  scrollTo(optionsOrX, y, scrollOptions);
}