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 class-attribute instance-attribute #

app_startup_screen_message: str | None = None

TBD

args class-attribute instance-attribute #

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

TBD

force_pyodide class-attribute instance-attribute #

force_pyodide: bool = False

TBD

reconnect_interval_ms class-attribute instance-attribute #

reconnect_interval_ms: int | None = None

Delay, in milliseconds, between reconnection attempts.

reconnect_timeout_ms class-attribute instance-attribute #

reconnect_timeout_ms: int | None = None

Total time to try reconnecting.

show_app_startup_screen class-attribute instance-attribute #

show_app_startup_screen: bool = False

TBD

url class-attribute instance-attribute #

url: str | None = None

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

Events#

on_error class-attribute instance-attribute #

on_error: ControlEventHandler[FletApp] | None = None

Called when a connection or any unhandled error occurs.