JSChannelWebViewWrapperDelegate constructor
const
JSChannelWebViewWrapperDelegate({
- required AddJSChannelCallback addJavaScriptChannel,
- required WidgetBuilder builder,
Creates an instance of JSChannelWebViewWrapperDelegate used to inject user script in the WebView.
The JavaScript channel should be added through the WebView controller like with the
addJavaScriptChannel
of the package webview_flutter
Implementation
const JSChannelWebViewWrapperDelegate({
required this.addJavaScriptChannel,
required this.builder,
});