🚀 EXPAND FAB
en_translate
expand-fab adalah implementasi Expandable Floating Action Button (FAB) untuk Flet, Library ini memungkinkan kamu membuat Floating Action Button dengan banyak aksi (speed dial), lengkap dengan animasi, overlay, label, dan event handler — langsung dari Python.
✨ Fitur Utama
- 🚀 Expandable / Speed Dial FAB
- ➕ Support multiple child actions
- 🎨 Icon & active icon (atau custom widget)
- 🏷️ Label & custom label widget
- 🎬 Animasi & curve configurable
- 🔌 Terintegrasi langsung dengan Flet custom control
- 💙 API simpel & terasa “Flutter-like”
- 🖥️ Support multi-platform:
- Android 🟢
- Linux 🟢
- Windows (untested)
- macOS (untested)
- Web 🟢
📦 Instalasi
uv add expand-fab
🤖 Requirements
- Python
3.12 - Flet
0.80.0
🚀 Contoh Penggunaan
def fab_open(e):
print(e.data)
def fab_child_tap(e):
print(e.data)
page.floating_action_button = ef.FloatingActionButton(
icon=ft.Icons.ADD,
active_icon=ft.Icons.CLOSE,
children=[
ef.FabChild(
child=ft.Icons.BOOK,
label="Book",
on_tap=fab_child_tap,
),
ef.FabChild(
child=ft.Icons.MEDIATION,
label="Mediation",
on_tap=fab_child_tap,
),
],
on_open=fab_open,
) # type: ignore
🖼️ Screen Shoot
I hope this project is useful 🥰
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
expand_fab-0.1.1.tar.gz
(14.4 kB
view details)
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 expand_fab-0.1.1.tar.gz.
File metadata
- Download URL: expand_fab-0.1.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa0eeb5ee261714fa73b4b1aa6ca8a1c5c859cc8f61dfa80fe8d1652503c179a
|
|
| MD5 |
b2db457fc27bb247897f5c46406f85fb
|
|
| BLAKE2b-256 |
e3f208168c67dc0e860106136f160b43c56cf897794cf10ffa831e7794618037
|
File details
Details for the file expand_fab-0.1.1-py3-none-any.whl.
File metadata
- Download URL: expand_fab-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54df90720c23aa204c11b8cede2ac97986a3e749d08dc6f318e926d4c2e8fa8d
|
|
| MD5 |
3919880a31f9e8b6c9d56e2db119a427
|
|
| BLAKE2b-256 |
48e5cd58bc26f50d75966f7482f7cc064aede9f6fe6100f38f08fcc69da06004
|