Skip to content

Commit 3ced563

Browse files
v1: Built-in extensions cleanup (#5705)
* Make `@control` decorator work in IDE with python 3.10 * Fix extension readmes
1 parent 66c8088 commit 3ced563

File tree

18 files changed

+53
-48
lines changed

18 files changed

+53
-48
lines changed

sdk/python/packages/flet-ads/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
Display Google Ads in [Flet](https://flet.dev) apps.
88

sdk/python/packages/flet-audio-recorder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
Adds audio recording support to [Flet](https://flet.dev) apps.
88

sdk/python/packages/flet-audio/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
A [Flet](https://flet.dev) extension package for playing audio.
88

@@ -35,6 +35,17 @@ To install the `flet-audio` package and add it to your project dependencies:
3535
```
3636
After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
3737

38+
> [!NOTE]
39+
> On Linux/WSL, you need to install [`GStreamer`](https://github.com/GStreamer/gstreamer) library.
40+
>
41+
> If you receive `error while loading shared libraries: libgstapp-1.0.so.0`, it means `GStreamer` is not installed in your WSL environment.
42+
>
43+
> To install it, run the following command:
44+
>
45+
> ```bash
46+
> apt install -y libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools
47+
> ```
48+
3849
### Examples
3950
4051
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/controls/audio).

sdk/python/packages/flet-charts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
A [Flet](https://flet.dev) extension for creating interactive charts and graphs.
88

sdk/python/packages/flet-datatable2/README.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
An enhanced data table for [Flet](https://flet.dev) apps that builds on the built-in component by adding sticky headers,
88
fixed top rows, and fixed left columns while preserving all core features.
@@ -17,14 +17,9 @@ You can find its documentation [here](https://docs.flet.dev/datatable2/).
1717

1818
This package supports the following platforms:
1919

20-
| Platform | Supported |
21-
|----------|:---------:|
22-
| Windows ||
23-
| macOS ||
24-
| Linux ||
25-
| iOS ||
26-
| Android ||
27-
| Web ||
20+
| Platform | Windows | macOS | Linux | iOS | Android | Web |
21+
|----------|---------|-------|-------|-----|---------|-----|
22+
| Supported|||||||
2823

2924
## Usage
3025

@@ -43,11 +38,6 @@ To install the `flet-datatable2` package and add it to your project dependencies
4338
```
4439
After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
4540

46-
- Using `poetry`:
47-
```bash
48-
poetry add flet-datatable2
49-
```
50-
5141
### Examples
5242

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

sdk/python/packages/flet-flashlight/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

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

sdk/python/packages/flet-geolocator/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
Adds geolocation capabilities to your [Flet](https://flet.dev) apps.
88

@@ -14,8 +14,6 @@ Features include:
1414

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

17-
> **Important:** Add the `Geolocator` instance to `page.services` before invoking its methods.
18-
1917
## Documentation
2018

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

sdk/python/packages/flet-lottie/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
A [Flet](https://flet.dev) extension package for displaying Lottie animations.
88

sdk/python/packages/flet-map/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
A [Flet](https://flet.dev) extension for displaying interactive maps.
88

sdk/python/packages/flet-permission-handler/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

77
A [Flet](https://flet.dev) extension that simplifies working with device permissions.
88

0 commit comments

Comments
 (0)