onLoadResource method Null safety

void onLoadResource(
  1. LoadedResource resource
)

Event fired when the InAppBrowser webview loads a resource.

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

Implementation

void onLoadResource(LoadedResource resource) {}