fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.

Home Page:https://pub.dev/packages/flutter_webview_plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect if Webview scroll reach the end

djankey opened this issue · comments

I'm implementing the EULA WebView with the "Accept" button which must be visible only when the user scrolls to the bottom of the web page.
The current scroll position is already implemented and it's working great:

webviewPlugin
      ..onScrollYChanged.listen((double offsetY) {
}

Is it possible to get the max scroll value?
(getMaxScrollAmount or similar...)