fluttercommunity / fluttercommunity/flutter_webview_plugin
Detect if Webview scroll reach the end
- Ngôn ngữ chính
- Java
- Star
- 1.5k
- Fork
- 938
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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...)
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start from the webviewPlugin.onScrollYChanged listener described in the issue and inspect how the plugin exposes scroll offsets. Determine how maximum scroll information could be exposed so callers can detect the page bottom for the EULA Accept button, then verify the behavior with the plugin's existing WebView flow.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- dart, java
- Lĩnh vực
- mobile
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100