getScrollX method

Future<int?> getScrollX()

Returns the scrolled left position of the current WebView.

NOTE for Web: this method will have effect only if the iframe has the same origin.

NOTE for MacOS: it is implemented using JavaScript.

Officially Supported Platforms/Implementations:

Implementation

Future<int?> getScrollX() {
  throw UnimplementedError(
      'getScrollX is not implemented on the current platform');
}