Metadata-Version: 2.4
Name: flet-flashlight
Version: 0.2.0.dev49
Summary: A Flet extension to manage the device torch/flashlight.
Author-email: Flet contributors <hello@flet.dev>
License-Expression: Apache-2.0
Project-URL: Homepage, https://flet.dev
Project-URL: Documentation, https://flet-dev.github.io/flet-flashlight
Project-URL: Repository, https://github.com/flet-dev/flet-flashlight
Project-URL: Issues, https://github.com/flet-dev/flet-flashlight/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flet>=0.70.0.dev0
Dynamic: license-file

# flet-flashlight

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

A [Flet](https://flet.dev) extension to manage the device torch/flashlight.

It is based on the [flashlight](https://pub.dev/packages/flashlight) Flutter package.

## Documentation

Detailed documentation to this package can be found [here](https://flet-dev.github.io/flet-flashlight/).

## Platform Support

This package supports the following platforms:

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

## Usage

### Installation

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

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

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

- Using `poetry`:
    ```bash
    poetry add flet-flashlight
    ```

### Examples

For examples, see [these](./examples).
