- Home
- Skills
- Mobile Development
- Flet Mastery for Claude Code
More screenshots
Works with the AI Agents you already use
Flet Mastery for Claude Code
Complete Flet 0.84.0 development skill for Claude Code. Scaffold projects, build custom extensions, migrate legacy code, and package wheels effortlessly.
$9
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
Flet Mastery for Claude Code
Example session with this skill installed
Create a modern responsive login page using Flet 0.84.0. Include a logo, two text fields with icons, and a primary action button. Use the new Alignment and Colors namespaces.
- Read your context and instructions
- Compiled the flet mastery
I have generated a responsive login page using the Flet 0.84.0 API. This implementation utilizes the updated ft.Colors and ft.alignment.Alignment namespaces to ensure compatibility with the latest framework version.
Flet Login Implementation
import flet as ft
def main(page: ft.Page):
page.title = "Secure Login"
page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
page.vertical_alignment = ft.MainAxisAlignment.CENTER
page.theme_mode = ft.ThemeMode.LIGHT
page.bgcolor = ft.Colors.GREY_50
# UI Components
logo = ft.Icon(
name=ft.Icons.LOCK_PERSON_ROUNDED,
color=ft.Colors.BLUE_ACCENT_700,
size=80
)
username_field = ft.TextField(
label="Username",
prefix_icon=ft.Icons.PERSON_OUTLINE,
border_radius=10,
width=300
)
password_field = ft.TextField(
label="Password",
prefix_icon=ft.Icons.KEY_OUTLINED,
password=True,
can_reveal_password=True,
border_radius=10,
width=300
)
login_button = ft.ElevatedButton(
text="Sign In",
width=300,
height=50,
style=ft.ButtonStyle(
color=ft.Colors.WHITE,
bgcolor=ft.Colors.BLUE_ACCENT_700,
shape=ft.RoundedRectangleBorder(radius=10),
),
on_click=lambda _: print("Login Attempted")
)
# Layout Container
card = ft.Container(
content=ft.Column(
controls=[
logo,
ft.Text("Welcome Back", size=24, weight=ft.FontWeight.BOLD),
ft.Text("Please sign in to continue", color=ft.Colors.GREY_600),
ft.VerticalDivider(height=10, color=ft.Colors.TRANSPARENT),
username_field,
password_field,
login_button,
],
horizontal_alignment=ft.CrossAxisAlignment.CENTER,
),
padding=40,
bgcolor=ft.Colors.WHITE,
border_radius=20,
shadow=ft.BoxShadow(blur_radius=15, color=ft.Colors.BLACK12),
alignment=ft.alignment.Alignment(0, 0)
)
page.add(card)
if __name__ == "__main__":
ft.app(target=main)
Next steps
- Add validation logic to the
on_clickhandler of the login button. - Implement
page.on_resizedto adjust the card width for mobile viewports. - Connect the fields to a backend auth provider using the
requestslibrary.
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
name: Flet Mastery for Claude Code description: "Complete Flet 0.84.0 development skill – project scaffolding, custom extension creation, legacy code migration, and wheel packaging." author: abdo_hak47 version: 1.0.0
Flet Mastery for Claude Code
You are an expert in Flet 0.84.0 – a Python framework to build real-time web, mobile, and desktop apps using Flutter. You follow best practices, know the official and community extensions, and can generate, refactor, or explain any Flet code.
🎯 When to Use This Skill
Use this skill when you need to:
- Build a Flet app (web, mobile, or desktop).
- Create a custom control / extension (bridging a Flutter widget).
- Migrate old Flet code (<0.26) to the modern 0.84+ API.
- Package and distribute a Flet extension.
- Get expert advice on official or community Flet extensions.
✨ Key Features
- Expert Knowledge: Deep understanding of Flet 0.84.0 API, including the new
ft.Icons,ft.Colors, andft.BoxFitnamespaces. - Automation Scripts: Includes ready-to-use Python scripts for scaffolding, migration, and building.
- Dart & Python Integration: Step-by-step guidance on bridging Flutter widgets with Python controls.
📦 Included Automation Scripts
This skill comes with powerful scripts located in the scripts/ directory:
| Script | Command | Purpose |
|---|---|---|
| New Project | python scripts/flet_init.py my_project | Creates a modern Flet 0.84.0 project with a virtual environment and sample main.py. |
| Extension Scaffold | python scripts/extension_scaffold.py fancy_button | Generates Python and Dart stubs for a custom Flet control. |
| Legacy Code Upgrade | python scripts/code_updater.py old_app/ --dry-run | Automatically rewrites old Flet code (ft.icons, ft.colors) to the 0.84+ API. |
| Build Extension Wheel | python scripts/extension_builder.py my_extension/ | Builds a distributable Python wheel (.whl) from your extension. |
🚀 How to Use
Simply ask Claude Code to perform a task. For example:
- "Create a new Flet project called chat_app"
- "Build a custom video player extension for Flet"
- "Migrate my old Flet 0.22 app to 0.84"
- "How do I use the flet-map extension?"
Claude will automatically use the scripts and best practices defined in this skill.
📚 Core Knowledge (Flet 0.84.0)
API Changes from 0.26 onward
Always use the new namespaces:
import flet as ft
# Icons
ft.Icons.HOME # instead of ft.icons.HOME
# Colors
ft.Colors.BLUE # instead of ft.colors.BLUE
# Alignment
ft.alignment.Alignment.CENTER # instead of ft.alignment.center
# Animation
ft.Animation # instead of ft.animation.Animation
# ImageFit -> BoxFit
ft.BoxFit.COVER # instead of ft.ImageFit.COVER
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.
Requires Flet 0.26+ or migration to 0.84.0. Custom widget bridging assumes target Flutter widgets are accessible.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 month ago
- Software
Python