A Flet extension that simplifies working with permissions in your app.
Project description
flet-permission-handler
A Flet extension that simplifies working with device permissions.
It is based on the permission_handler Flutter package and brings similar functionality to Flet, including:
- Requesting permissions at runtime
- Checking the current permission status (e.g., granted, denied)
- Redirecting users to system settings to manually grant permissions
Documentation
Detailed documentation to this package can be found here.
Platform Support
This package supports the following platforms:
| Platform | Supported |
|---|---|
| Windows | ✅ |
| macOS | ❌ |
| Linux | ❌ |
| iOS | ✅ |
| Android | ✅ |
| Web | ✅ |
Usage
Installation
To install the flet-permission-handler package and add it to your project dependencies:
-
Using
uv:uv add flet-permission-handler
-
Using
pip:pip install flet-permission-handler
After this, you will have to manually add this package to your
requirements.txtorpyproject.toml. -
Using
poetry:poetry add flet-permission-handler
Examples
For examples, see these.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flet_permission_handler-0.2.0.dev504.tar.gz.
File metadata
- Download URL: flet_permission_handler-0.2.0.dev504.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fb9b7bfec2936f8a31ce8028feecb6bb1e7850be2cabada8369c6c36e4c5de9
|
|
| MD5 |
7b88567a37b6cfa4157267d99f0d7b0f
|
|
| BLAKE2b-256 |
7d3f7b535848a7f60e8d27276ae5c6ac4565e24144a9ad7f2e550c31c4f14d49
|
File details
Details for the file flet_permission_handler-0.2.0.dev504-py3-none-any.whl.
File metadata
- Download URL: flet_permission_handler-0.2.0.dev504-py3-none-any.whl
- Upload date:
- Size: 25.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dfbed689d3dc124e887a7de11ab52866a717a60110363753682ed6b535b1504
|
|
| MD5 |
f3d7e7dea0aabe56f57dc8488630e9ed
|
|
| BLAKE2b-256 |
eeedf9dced3c9507776dd22c3b4c580aad3f11d2e77de5bdcb496b35eb870680
|