build abstract method

Widget build({
  1. required BuildContext context,
  2. required String userScriptSource,
})

Returns the WebView widget that needs to be wrapped.

This WebView widget should inject the userScriptSource through the UserScript like in the initialUserScripts parameter of InAppWebView of the package flutter_inappwebview.

Implementation

Widget build({
  required BuildContext context,
  required String userScriptSource,
});