Video
flet_pkg.mp4 · 13.1 MB · click to show
flet_pkg.mp4 · 13.1 MB · click to show
flet-pkg — CLI to generate Flet extension packages from any Flutter package on pub.dev.
What it does:
• Downloads the Flutter package source
• Detects whether it is a Service or UI Control
• Generates Python bindings, Dart bridge code, enums, events and type mappings
Optional features:
• AI refinement to detect missing parts
• MCP server for AI agent integrations
Install:
uv add flet-pkg
# OR
pip install flet-pkg
Create a package:
flet-pkg create -f battery_plus
⚠️ This tool generates most of the boilerplate automatically, but
developers should still review and adapt the generated code depending on the package.
GitHub:
https://github.com/brunobrown/flet-pkg
Docs:
https://brunobrown.github.io/flet-pkg
If you like this project, please give it a GitHub star ⭐
Feedback and contributions are welcome 😊👍