Skip to content

FletApp

Inherits: LayoutControl

Renders another Flet app in the current app, similar to HTML IFrame, but for Flet.

Properties

Events

Properties#

app_startup_screen_message #

app_startup_screen_message: str | None = None

TBD

args #

args: dict[str, Any] | None = None

TBD

force_pyodide #

force_pyodide: bool = False

TBD

reconnect_interval_ms #

reconnect_interval_ms: int | None = None

Delay, in milliseconds, between reconnection attempts.

reconnect_timeout_ms #

reconnect_timeout_ms: int | None = None

Total time to try reconnecting.

show_app_startup_screen #

show_app_startup_screen: bool = False

TBD

url #

url: str | None = None

Flet app URL, e.g. http://localhost:8550 or flet.sock.

Events#

on_error #

on_error: ControlEventHandler[FletApp] | None = None

Called when a connection or any unhandled error occurs.