implement-flet-extension

Solid

Implement a new Flet extension/control that wraps a third-party Flutter package end-to-end, including dependency selection, version pinning, compatibility checks, Python/Flutter integration, docs, examples, tests, and CI updates. Use when adding any flet_* package backed by an external pub.dev package.

Web & Frontend 16,212 stars 657 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Implement a Flet extension around an external Flutter package using existing `flet_*` packages as implementation templates. ## Inputs - Control/service name and Python package name (`flet_<extension>`). - Target pub.dev package and intended version/range. - API surface to expose in Python (properties, methods, events, types/enums). ## Third-party Dependency Gate 1. Confirm package health: maintenance activity, null-safety, platform support, and open issue risk. 2. Confirm license is compatible with Flet distribution. 3. Select a conservative version strategy: - Pin exact version when behavior stability is critical. - Use bounded ranges when required by ecosystem constraints. 4. Record key constraints and reasons in PR notes/commit message. ## Control/Service Classification - Classify wrapped functionality before implementation: 1. `LayoutControl` for visual controls that participate in page/layout positioning. 2. Base `Control` for simple visual controls that do not require page positioning or define their own positioning rules/props (for example `Draggable`, `Divider`, `MenuBar`, `NavigationRail`). 3. Non-visual Service when functionality is not a renderable UI control. - Inspect the wrapped Flutter package API to determine whether it includes non-visual/service functionality. - For service patterns, follow existing extension examples: `sdk/python/packages/flet-audio`, `sdk/python/packages/flet-flashlight`, `sdk/python/packages/flet-secure-storage`. ## API Mapping Rul...

Details

Author
flet-dev
Repository
flet-dev/flet
Created
4 years ago
Last Updated
today
Language
Python
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category