Adds audio recording support to Flet apps.
It is based on the record Flutter package.
Detailed documentation to this package can be found here.
| Platform | Windows | macOS | Linux | iOS | Android | Web |
|---|---|---|---|---|---|---|
| Supported | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
To install the flet-audio-recorder package and add it to your project dependencies:
-
Using
uv:uv add flet-audio-recorder
-
Using
pip:pip install flet-audio-recorder
After this, you will have to manually add this package to your
requirements.txtorpyproject.toml.
Note
On Linux, encoding is provided by fmedia which must be installed separately.
For examples, see these.