getScrollPosition method

  1. @override
Future<Offset> getScrollPosition()

Return the current scroll position of this view.

Scroll position is measured from the top left.

Implementation

@override
Future<Offset> getScrollPosition() async {
  // WebView2 not support
  log("[webview_win_floating] getScrollPosition() not support for WebView2");
  return Offset.zero;
}