flet_gradient_text
It displays text with a colorful gradient and optional animation of the gradient.
installation:
pip install flet_gradient_text
🔧 Parameters
text(str): The text content to displaytext_size(optional): defaulttext_size=20, Font size of the texttext_weight: optional, Font weight (e.g., ft.FontWeight.BOLD)text_style(optional): property of typeft.TextStyleanimate(bool): defaultanimate=False,Trueto Enable animationduration(float or int): defaultduration=0.5, Controls the speed of the animationgradient: (optional) Custom gradient to apply over the text, defaultLinearGradienton_click(optional): Event handler when the text is clickedon_hover(optional): Event handler when hovering over the text
🧩 Usage
import flet as ft
from flet_gradient_text import GradientText
def main(page: ft.Page):
page.add(
GradientText(
text="Hello Gradient!",
text_size=40,
text_weight=ft.FontWeight.BOLD,
animate=True,
duration=1,
)
)
ft.app(target=main)
Metadata
Release files for flet-gradient-text 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flet_gradient_text-1.1.2.tar.gz | 3.5 kB | Without provenance | Details for flet_gradient_text-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flet_gradient_text-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for flet_gradient_text-1.1.2-py3-none-any.whl |
Total release size: 7.4 kB
Release files / flet_gradient_text-1.1.2.tar.gz
| Download URL | flet_gradient_text-1.1.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eedd111eab881dd7d5e51f40792a6662065380c86c3b6a2ffb3b0168a6a324d9
|
|
BLAKE2b-256 checksum How to use checksums |
7c155f3f80bfc20d4659d335907ae5879d8a5a40a28df83d430526a25cc45bf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / flet_gradient_text-1.1.2-py3-none-any.whl
| Download URL | flet_gradient_text-1.1.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8636f1f0a1e3fddaf123dbdc0e35a40a12901dd76d6fc1088873d8041e7d0d9
|
|
BLAKE2b-256 checksum How to use checksums |
6d33a7f331cab01591bdefccefcf9fe7c43cac42d116382de928f29bbac03d1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for flet-gradient-text 1.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.