'Using flutter_inAppWebView, how do I programmatically close the web view?
I'm using flutter_inappwebview and I've got it working, but I want to programmatically close the web view and trigger onCloseWindow to emit an event.
I'm tried importing things like dart:html as html to try to use html.window.close but my linter doesn't seem to like that. I get Error: Not found: 'dart:html and Error: undefined name windowon top of a warning:Avoid using web-only libraries outside Flutter web plugin packages.`.
How do I close this window to trigger onCloseWindow?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
