initialize abstract method

void initialize({
  1. required WebViewJSChannelHandler handler,
})

Initialize the delegate allowing to execute some tasks earlier before the build of the WebView widget.

This WebView widget should add the JavaScript Channel using handler through the WebView controller like with the addJavaScriptChannel of the package webview_flutter.

Implementation

void initialize({required WebViewJSChannelHandler handler});