flutter_webview_plugin icon indicating copy to clipboard operation
flutter_webview_plugin copied to clipboard

How to add pull to refresh action into webview

Open Colaman0 opened this issue 6 years ago • 8 comments

Hello, i want to add refresh action in webview, i try to use RefreshIndicator ,but it isn't work , i can't pull the webview.

Do you have other idea ?

Colaman0 avatar Nov 23 '19 03:11 Colaman0

Do you find any solution?

mahdi-gh1373 avatar Jan 08 '20 14:01 mahdi-gh1373

Do you find any solution?

Unfortunately i don't find the solution.

Colaman0 avatar Jan 13 '20 02:01 Colaman0

What I found so far is that you have to wrap the WebView into Scrollable widget, for example, ListView. The problem is, that according to this issue you'll be unable to scroll unless with the workaround present there on stable channel. However with gaining control over scrolling, you'll be unable to register pull to refresh action. Still stuck.

RedCuckoo avatar May 08 '20 15:05 RedCuckoo

I filed issue for this, cause I didn't find anything.

RedCuckoo avatar May 08 '20 22:05 RedCuckoo

any one get solution for that issue?

nikitaIndianic avatar Jun 30 '20 11:06 nikitaIndianic

anyone solved this guys or found a way yet ?

AdhamEssam avatar Feb 12 '21 21:02 AdhamEssam

anyone solved this guys or found a way yet ?

As I see from the history of the issues, it should be solved, according to #35394 and #61671 Did you try wrapping WebView as I mentioned in #56724?

RedCuckoo avatar Feb 12 '21 22:02 RedCuckoo

Swipe detector package

Honelign avatar Aug 13 '21 20:08 Honelign