TBLWebKitInspectable extension

Extra behavior attached to webview_flutter's PlatformWebViewController -- a type this SDK doesn't own, so extension methods (not inheritance) are the idiomatic way to add to it.

on
  • PlatformWebViewController

Methods

setTblInspectable(bool inspectable) Future<void>

Available on PlatformWebViewController, provided by the TBLWebKitInspectable extension

Enables/disables Safari Web Inspector debugging (iOS 16.4+) if this platform controller is backed by WKWebView. No-op on other platforms (e.g. Android).