You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 24, 2025. It is now read-only.
When I try to change url in webview, I got the following error:
raise FletUnsupportedPlatformException(
flet.core.exceptions.FletUnsupportedPlatformException: This method is supported on Android, iOS and macOS platforms only.
Is it possible to change current URL to another one? for example:
chart_webview=fwv.WebView(
url="about:blank",
# url=chart_url,on_page_started=lambda_: page.eval_js(
"console.log('Log do navegador: echarts iniciado!');"
),
on_page_ended=lambda_: page.eval_js(
"console.log('Log do navegador: echarts carregou!');"
),
on_web_resource_error=lambdae: page.eval_js(
f"console.log('Log do navegador: erro: {e.data}!');"
),
expand=True,
)
chart_webview.height=480# altura fixa para o gráfico
# Função para carregar o gráfico defload_chart(chart_webview):
encoded_html=load_chart_url()
chart_webview.url=encoded_html