We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 181123c commit 37fd2c7Copy full SHA for 37fd2c7
packages/fwfh_webview/lib/src/web_view_factory.dart
@@ -132,7 +132,11 @@ mixin WebViewFactory on WidgetFactory {
132
}
133
134
final a = meta.element.attributes;
135
- final src = urlFull(a[kAttributeIframeDataSrc] ?? a[kAttributeIframeSrc] ?? '');
+ final dataSrc = a[kAttributeIframeDataSrc];
136
+ final srcAttr = a[kAttributeIframeSrc];
137
+ final src = urlFull(
138
+ (dataSrc?.isNotEmpty == true) ? dataSrc! : (srcAttr ?? '')
139
+ );
140
if (src == null) {
141
return widgets;
142
0 commit comments