Flutter Webview
Introduction
Some apps need to open external interfaces in a separate window to complete their flow. Transactionlink widget will try to close the external window as soon as its flow is completed via JavaScript specification that works only in a web browser environment. To close the page that was opened in a WebView you must implement the event handler in your mobile app and close the WebView window by yourself.
Handler
When the widget will try to close the opened window it will use InAppWebViewController to trigger a handler close-redirect.
When the page inside a WebView will be completed it will call:
window.flutter_inappwebview.callHandler("close-redirect")
Updated about 1 year ago