A Flet extension for displaying web content in a WebView.
It is based on the webview_flutter and webview_flutter_web Flutter packages.
Important: WebView requires platform-specific configuration (e.g., enabling webview on iOS). Consult Flutter's platform setup guides.
Detailed documentation to this package can be found here.
| Platform | Windows | macOS | Linux | iOS | Android | Web |
|---|---|---|---|---|---|---|
| Supported | ❌ | ✅ | ❌ | ✅ | ✅ | ✅ |
To install the flet-webview package and add it to your project dependencies:
-
Using
uv:uv add flet-webview
-
Using
pip:pip install flet-webview
After this, you will have to manually add this package to your
requirements.txtorpyproject.toml.
For examples, see these.