Duplicate Check
Describe the bug
I don't know exactly know what the problem is, is it my environment, My code or is the WebView control is broken, I tried to follow every detail on what's in the docs, but no luck!
I am using latest versions of flet and flutter but it doesn't work.
My phone is Running on Android 14
Code sample
main.py
import flet as ft
def main(page: ft.Page):
page.window_width = 400
wv = ft.WebView(
url="https://flet.dev",
on_page_started=lambda _: print("Page started"),
on_page_ended=lambda _: print("Page ended"),
on_web_resource_error=lambda e: print("Page error:", e.data),
expand=True,
)
page.add(wv)
if name == "main":
ft.app(main)
To reproduce
No Preview
Expected behavior
It should displays the Web Contents
Screenshots / Videos
Sample Screenshot


Operating System
Windows
Operating system details
Windows 11
Flet version
0.25.2
Regression
I'm not sure / I don't know
Suggestions
I am not sure if it works in previous versions
if it really doesn't work then should try switching to different frameworks
Logs
No response
Additional details
No response