Flutter web and iframe
Published in
3 min readMar 22, 2020
Using iframe in Flutter web
How to use iframe in Flutter Web ? Hmmm….
All in one Flutter resource: https://flatteredwithflutter.com/flutter-web-and-iframe/
Pre-Requisite…
As of 1.12, Flutter has early support for running web applications, but you need to be running the beta
the channel of Flutter…
Upgrade to Flutter beta
channel as :
flutter channel betaflutter upgradeflutter config --enable-web
Once the web is enabled, run the flutter devices
command…you should see something like this :
flutter devices
2 connected device:
Chrome • chrome • web-javascript • Google Chrome 78.0.3904.108
Web Server • web-server • web-javascript • Flutter Tools
Run your app as localhost
in Chrome, by the following
flutter run -d chrome