Skip to main content

WebView control for Flet

Project description

WebView control for Flet

WebView control for Flet.

Usage

Add flet-webview as dependency (pyproject.toml or requirements.txt) to your Flet project.

Example

import flet as ft

import flet_webview as fwv

def main(page: ft.Page):
    wv = fwv.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)

ft.app(main)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flet_webview-0.1.0.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

flet_webview-0.1.0-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file flet_webview-0.1.0.tar.gz.

File metadata

  • Download URL: flet_webview-0.1.0.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.18

File hashes

Hashes for flet_webview-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a581fae93623372ffcbf30c81c48ad4c619760f38df022576fd83adddad54d4c
MD5 38b6321ab1c6e17f87fa6116a9942dd5
BLAKE2b-256 8dc3a7936cafaa9d55cb6f3ef0890f9f1d111e5fa4aaa5277ef0747c9d1049c7

See more details on using hashes here.

File details

Details for the file flet_webview-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flet_webview-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f523de312ee1c7af4f432b393541dd3ba1b6f85d59a3e4216103a56848e091fb
MD5 be9ffc858516697da30e341b54c6a5cc
BLAKE2b-256 f4f2d6e71041feafab25e786747b2669b991102dd2a717413dd12535b1f36e75

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page