Metadata-Version: 2.4
Name: flet-webview
Version: 0.70.0.dev6619
Summary: Embed web content inside Flet apps via WebView.
Author-email: Flet contributors <hello@flet.dev>
License-Expression: Apache-2.0
Project-URL: Homepage, https://flet.dev
Project-URL: Documentation, https://docs.flet.dev/webview
Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-webview
Project-URL: Issues, https://github.com/flet-dev/flet/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flet==0.70.0.dev6619
Dynamic: license-file

# flet-webview

[![pypi](https://img.shields.io/pypi/v/flet-webview.svg)](https://pypi.python.org/pypi/flet-webview)
[![downloads](https://static.pepy.tech/badge/flet-webview/month)](https://pepy.tech/project/flet-webview)
[![license](https://img.shields.io/badge/License-Apache_2.0-green.svg)](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-webview/LICENSE)

A [Flet](https://flet.dev) extension for displaying web content in a WebView.

It is based on the [webview_flutter](https://pub.dev/packages/webview_flutter)
and [webview_flutter_web](https://pub.dev/packages/webview_flutter_web) Flutter packages.

> **Important:** WebView requires platform-specific configuration (e.g., enabling webview on iOS). Consult Flutter's platform setup guides.

## Documentation

Detailed documentation to this package can be found [here](https://docs.flet.dev/webview/).

## Platform Support

| Platform | Windows | macOS | Linux | iOS | Android | Web |
|----------|---------|-------|-------|-----|---------|-----|
| Supported|    ❌    |   ✅   |   ❌   |  ✅  |    ✅    |  ✅  |

## Usage

### Installation

To install the `flet-webview` package and add it to your project dependencies:

- Using `uv`:
    ```bash
    uv add flet-webview
    ```

- Using `pip`:
    ```bash
    pip install flet-webview
    ```
    After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.

### Examples

For examples, see [these](https://github.com/flet-dev/flet/tree/main/examples/controls/webview).
