webView property

bool webView
final

Controls whether or not IFRAME is rendered as WebView.

You must perform additional configuration for this to work.

iOS

Add this at the end of ios/Runner/Info.plist to enable Flutter's experimental platform view. See more info here.

<key>io.flutter.embedded_views_preview</key>
<string>YES</string>

Android

Add this into android/app/src/main/AndroidManifest.xml to enable internet access. Without this, you will most likely see a net:ERR_CACHE_MISS error for each iframe being rendered.

<uses-permission android:name="android.permission.INTERNET" />

Default: false.

Implementation

final bool webView