An open API service indexing awesome lists of open source software.

https://github.com/flet-dev/flet-flashlight

A Flet extension to manage the device torch/flashlight.
https://github.com/flet-dev/flet-flashlight

flashlight flet flet-extension flutter python torchlight

Last synced: 2 months ago
JSON representation

A Flet extension to manage the device torch/flashlight.

Awesome Lists containing this project

README

          

# THIS PROJECT HAS BEEN ARCHIVED

`flet-flashlight` is now part of the main [Flet repository](https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-flashlight).

# 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).