From 4c31c147e97d28355b657b45b023f8cadbd2f1f2 Mon Sep 17 00:00:00 2001 From: Rody Davis <31253215+rodydavis@users.noreply.github.com> Date: Thu, 19 Jan 2023 17:35:41 -0800 Subject: [PATCH] Update web.dart --- lib/src/platforms/web.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/platforms/web.dart b/lib/src/platforms/web.dart index 6507d94..bbbe3ac 100644 --- a/lib/src/platforms/web.dart +++ b/lib/src/platforms/web.dart @@ -52,7 +52,7 @@ class BrowserWebViewState extends WebViewState { if (_iframeElementMap[key] == null) { _iframeElementMap[key] = html.IFrameElement(); } - final element = _iframeElementMap[widget.key]; + final element = _iframeElementMap[key]; final options = widget.options.browser; element!