Questions tagged [flutterwebviewplugin]
245 questions
4
votes
1 answer
Flutter Webview with GoRouter (navigation 2.0) - how to handle back button press
According to this blog, if using Navigator 2.0 and/or (in my case) GoRouter you can no longer override the phone's back button using the "WillPopScope" and onWillPop function call. Navigator 2.0 now uses PopRoute to go back.
This causes an issue…

Delmontee
- 1,898
- 2
- 26
- 44
4
votes
0 answers
Preload flutter all the flutter webview pages when app starts
This is my main.dart file, as you can see I have tab view on my homepage where I have implemented 4 webviews - now I want to preload all those webviews when the app starts otherwise it take 1-3 seconds everytime i change the tab to load the new…

Tushar Laad
- 51
- 3
4
votes
1 answer
Get Json response when Webview redirect to another page in Flutter
flutter_webview_plugin^0.3.11
I am building a payment gateway and in 3d secure mode I need to use Webview. Launch Webview with a response in type of html string.
return Scaffold(
body: WebviewScaffold(
withJavascript: true,
key:…

Muhtar
- 1,506
- 1
- 8
- 33
4
votes
4 answers
Problem in google login in canva through webview in flutter
I wanted to upload pics through canva from my flutter app that is why I am using the flutter-webview-plugin for the first time and therefore I am not able to solve this issue.
Code for the same is:-
import 'package:flutter/material.dart';
import…

Harsh J
- 413
- 1
- 4
- 15
4
votes
0 answers
How to disable cut-copy-paste pop up in webview on text selection in Flutter
How do I disable the cut-copy-paste pop-up in a web view in Flutter? I want the text selection feature to remain as it is, but I don't want the pop-up to appear. I googled a lot but nothing worked for me.
I am using this Flutter WebView.

Nikhil
- 1,023
- 17
- 35
3
votes
2 answers
Is there a way to load, render, and persist webpages (or WebViews) in memory, like browsers do, in a Flutter app?
I’m trying to make a Flutter app that lets the user open up preloaded webpages from a list. The home screen should have a list of online articles with image previews (client-side screenshots) of them, and clicking on a list item should open the…

clickbait
- 2,818
- 1
- 25
- 61
3
votes
0 answers
Flutter webview doesn't load big videos
I'm displaying videos using a webview, but sometimes they aren't loaded.
I've tried different options but result is the same. I think it's related specifically to big videos like…

georgeos
- 2,351
- 2
- 24
- 28
3
votes
1 answer
Flutter webview iOS error "default webview implementation for targetPlatform.macOS but there isn't one"
I am new to Flutter, I tried webview with flutter and it works well with Android
I was trying to check it for iOS and I got
I am using
webview_flutter: ^3.0.0
Here's my code for it
import 'package:flutter/material.dart';
import…

Kavi Harjani
- 661
- 5
- 15
3
votes
1 answer
Flutter Webview Hide All but One Div/Class
I'm using Flutter Webview (webview_flutter: ^2.1.1) to display only one div of my website. All the information I could find was how to hide specific div/elements with the following codes, and they work.
onPageStarted: (url)…

Damien Devillian
- 81
- 1
- 6
3
votes
2 answers
How to block ads in a flutter webView ( web page in mobile app )
I have made an app using the webview_flutter plugin, the webviews leads to a URL that streams a video. But there's a new advertisement pop-up every time I enter this webview. I'd be glad if anyone could provide a solution to prevent this from…

kopoyo
- 49
- 5
3
votes
1 answer
Flutter Web View blank screen on Release Mode
I have an issue where the Flutter WebView is rendering blank on the release version of my Android App on the Playstore.
Users are complaining that a page is not loading, but this page was loading very fine in debug mode.
Here is what I am doing. I…

ololo
- 1,326
- 2
- 14
- 47
3
votes
1 answer
How to Download Output Widget screenshot as image In Flutter Web?
I want to download widgets screenshots as an image file in flutter Web. Is there any to do this?
By the way for converting the widget to Uint8List, I am using the screenshot plugin.

Sunny Rahi
- 99
- 1
- 6
3
votes
0 answers
flutter_webview_plugin: Choose File not working in Flutter WebView (working in Google Chrome)
I am working with flutter_webview_plugin: ^0.4.0 and its working successfully but there is one issue that File Chooser is not opening.
I have to choose one file from WebView but its showing "No apps can perform this action."
I am using following…

Ketan Vishwakarma
- 231
- 3
- 8
3
votes
1 answer
Flutter webview I want to remove the white background when pulling the app up or down
I want to inactivate the white background when I pull the screen up or down. Thank you.
https://user-images.githubusercontent.com/57063848/112276391-bd5bf900-8c91-11eb-9cec-9933e4ee41df.mp4
import 'package:flutter/material.dart';
import…

Gökhan Belli
- 31
- 4
3
votes
0 answers
File uploading in fultter webview
I am using fluter webview for android and iOS apps. In the app, the page contains an HTML form where one of the fields is file uploading via dropzone.
If I open the page in the browser and press the Choose File button, file chooser pops up and…

PARAS GUPTA
- 302
- 3
- 13