getScrollPosition method
Return the current scroll position of this view.
Scroll position is measured from the top left.
Implementation
@override
Future<Offset> getScrollPosition() async {
final Point<double> offset = await _webView.scrollView.getContentOffset();
return Offset(offset.x, offset.y);
}