Flashlight control for Flet
Project description
Flashlight control for Flet
Flashlight
control for Flet.
Usage
Add flet-flashlight
as dependency (pyproject.toml
or requirements.txt
) to your Flet project.
Example
import flet as ft
import flet_flashlight as ffl
def main(page: ft.Page):
flashlight = ffl.Flashlight()
page.overlay.append(flashlight)
page.add(
ft.TextButton("toggle", on_click=lambda _: flashlight.toggle())
)
ft.app(main)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flet_flashlight-0.1.0.tar.gz
(13.3 kB
view details)
Built Distribution
File details
Details for the file flet_flashlight-0.1.0.tar.gz
.
File metadata
- Download URL: flet_flashlight-0.1.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62643add87ce4d9e0bf2871d6f226049e734985a7a1b2efb94ae51abcdc9de3 |
|
MD5 | 7d88e8117e303a99eca907a9fdb5d382 |
|
BLAKE2b-256 | 287f3491d801ed557cc341c4e3158f79cd7cf6538556b48968573df86afd29e7 |
File details
Details for the file flet_flashlight-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: flet_flashlight-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3854d34d0e6c6fa0262a4f61e9423e78e83d1bdbac948c5f734591c1ba0586ee |
|
MD5 | 60ef252a34df810f54c51b598bfc3ae2 |
|
BLAKE2b-256 | d977cc8f281df3f58b800f3a39fdb11360d8700110d0a944ed1c587e083d9306 |