I have a web view application in Flutter. The plugin/package is "flutter_webview_plugin". In Webview Scaffold, I have url= 'www.google.com'. Now I want that any URL which doesn't contain "google.com" opens in the local browser of the phone.
Maybe if I can restrict the Web view plugin if URL doesn't contain "google.com"
Please let me know how can I achieve this.
Here is my code:
WebviewScaffold(
url: "http://www.google.com")
Further Clarification: I have a web view application. So the website that I have, has a lot of links in it. I don't want links other than my domain links to load in webview app. I want it to open externally.
Link to issue first reported: https://stackoverflow.com/questions/55125577/flutter-web-view-application-only-a-particular-website-run-in-the-application