flet-extension

Document architecture and code patterns for building Flet extensions combining Python services and Dart UI components.

1|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/brunobrown/claude-flet-plugin --skill flet-extension
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flet-extension
Source: https://github.com/brunobrown/claude-flet-plugin/tree/main/plugins/flet/skills/flet-extension
Command: npx skills add https://github.com/brunobrown/claude-flet-plugin --skill flet-extension

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Flet extension development combines Python services and Dart UI controls into cohesive packages, but teams often lack a single, practical blueprint for architecture, registration, and publishing.

Core Features & Use Cases

  • Two extension types covered: Python services (ft.Service) and UI controls (ft.LayoutControl), with clear division of responsibilities and integration patterns.
  • End-to-end guidance from project structure and registration to packaging and publishing for Flet 0.81.x+.
  • Real-world examples and best practices for cross-language data exchange, event handling, and extension lifecycle.

Quick Start

Follow the high-level workflow to scaffold and implement a Flet extension with Python services and Dart UI components.

Frequently Asked Questions about flet-extension

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Flet extension that combines Python services with Dart UI controls?

Flet extensions divide responsibilities between Python services using ft.Service and Dart UI controls using ft.LayoutControl. The Skill provides end-to-end guidance on project structure, registration, and cross-language integration patterns for Flet 0.81.x+ deployments.

What is the difference between ft.Service and ft.LayoutControl when creating Flet extensions?

ft.Service manages Python background services, whereas ft.LayoutControl defines Dart UI controls within Flet extensions. The Skill documents the division of responsibilities, integration patterns, and lifecycle management for combining both component types.

How do I package and publish a Flet extension for Flet 0.81.x and later?

Packaging and publishing a Flet extension involves following end-to-end guidance covering frontmatter metadata, runnable examples, and safety considerations. The Skill provides the complete workflow from project registration through final publishing for Flet 0.81.x+ deployments.

Do I need to know both Python and Dart to develop Flet extensions?

Developing Flet extensions requires both Python and Dart knowledge because the architecture combines Python services with Dart UI components. The Skill provides code patterns, defensive patterns, and real-world examples to manage cross-language data exchange and event handling.

What are the limitations and safety considerations when deploying Flet extensions?

Flet extension deployment requires implementing defensive patterns and addressing safety considerations to ensure robust cross-language integration. The Skill documents optional resources and architectural constraints for secure Python service and Dart UI control operations.