UserScriptWebViewWrapperBuilder typedef
UserScriptWebViewWrapperBuilder =
Widget Function(BuildContext context, String userScript)
Widget builder callback that allows to pass the userScript that
will be injected through the UserScript initialization of the WebView.
This injection must be done through the UserScript like in the initialUserScripts parameter of
InAppWebView
of the package flutter_inappwebview.
Implementation
typedef UserScriptWebViewWrapperBuilder = Widget Function(
BuildContext context,
String userScript,
);