webViewController property

InAppWebViewController? get webViewController

WebView Controller that can be used to access the PlatformInAppWebViewController API. When onExit is fired, this will be null and cannot be used anymore.

Implementation

InAppWebViewController? get webViewController {
  final webViewControllerPlatform = platform.webViewController;
  if (webViewControllerPlatform == null) {
    return null;
  }
  return InAppWebViewController.fromPlatform(
      platform: webViewControllerPlatform);
}