openDevTools method
Opens the DevTools window for the current document in the WebView. Does nothing if run when the DevTools window is already open.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - ICoreWebView2.OpenDevToolsWindow)
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> openDevTools() => platform.openDevTools();