Installation¶
FletWebviewAll ships as a Flet extension. Add it to your app's dependencies and Flet will build the platform-native extension the first time you run or package your app.
Add the dependency¶
In your pyproject.toml:
dependencies = [
"flet-webview-all @ git+https://github.com/yourusername/flet-webview-all",
"flet>=0.85.2",
]
Or, once published on PyPI:
Import it¶
Platform prerequisites¶
Different platforms need different runtime pieces before the control will render. See Platform notes for the full list — the most common one to check first is Windows, which requires the WebView2 runtime to be installed on the machine.
Next step¶
Continue to the quickstart to load your first page.