Flutter web inception

28 Dec 2023

patches image


While Flutter has had good support for debugging its web app build target when running in a Chrome desktop or even mobile Chrome browser for some time now, I recently ran into the need to debug a Flutter web app running inside a webview within a mobile app.

So is this even possible? Well, the good news this article aims to spread is that yes! Despite the number of inter-operating components required, it is possible to debug Flutter webapps running inside a webview (at least on Android). So how is this wonder of modern computing achieved? Well read on below to find out...

The setup

In order to demonstrate the required method for debugging a Flutter web app inside a webview, I decided to

In action