onLoadResource method

  1. @override
void onLoadResource(
  1. LoadedResource resource
)
override

Event fired when the PlatformInAppBrowser webview loads a resource.

NOTE: In order to be able to listen this event, you need to set InAppWebViewSettings.useOnLoadResource and InAppWebViewSettings.javaScriptEnabled setting to true.

Officially Supported Platforms/Implementations:

  • Android native WebView
  • iOS
  • MacOS

Implementation

@override
void onLoadResource(LoadedResource resource) {}