updated example

This commit is contained in:
Lorenzo Pichilli 2022-04-22 16:32:03 +02:00
parent ce6e9066ba
commit d1e4dc55d0

View File

@ -117,8 +117,8 @@ class _InAppWebViewExampleScreenState extends State<InAppWebViewExampleScreen> {
InAppWebView( InAppWebView(
key: webViewKey, key: webViewKey,
// contextMenu: contextMenu, // contextMenu: contextMenu,
initialUrlRequest: URLRequest( initialUrlRequest:
url: Uri.parse("https://mdn.github.io/sw-test/")), URLRequest(url: Uri.parse("https://github.com/flutter")),
// initialFile: "assets/index.html", // initialFile: "assets/index.html",
initialUserScripts: UnmodifiableListView<UserScript>([]), initialUserScripts: UnmodifiableListView<UserScript>([]),
initialOptions: options, initialOptions: options,