scroll method
Scrolls the page horizontally and vertically to a specific point.
This method is identical to scrollTo.
Other resources
- Window.scroll from MDN.
Implementation
void scroll([dynamic optionsOrX, y, Map? scrollOptions]) {
scrollTo(optionsOrX, y, scrollOptions);
}