getViewId method

dynamic getViewId()

View ID used internally.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView
  • Web <iframe> but requires same origin
  • Windows WebView2

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

dynamic getViewId() => platform.getViewId();