فارسی
باز کردن در Telegram

رشتهٔ گفتگو flet-pkg — CLI to generate Flet extension packages from any Flutter package on pub.dev.

3 پیام · –
B
ویدیو
flet_pkg.mp4 · 13.1 MB · برای نمایش کلیک کنید
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 😊👍
    1. B
      Hey bro, good question 👍 You don’t need to manually “order” or restructure your Dart code specifically for flet-pkg. What matters is that the Flutter package follows common pub.dev conventions: • Public APIs should be exposed clearly (classes, methods, properties) • Avoid hiding everything behind private/internal APIs • Use well-defined types (enums, classes, streams, etc.) • Keep a clear separation between UI widgets and service logic flet-pkg will analyze the package and try to infer: • whether it’s a Service or UI Control • available methods, properties, and events ⚠️ That said, the generated code is a starting point — you may still need to manually adjust things depending on how complex the package is. 😉😊👍
PPython Flet Global group🌐Python Flet Global group🌐@python_flet · گروه · فناوری
615عضو10نویسنده در 30 روز
فید انجمن باز کردن در Telegram

فید عمومی باز از ایندکس جست‌وجو ChatCrawler — «Google برای Telegram عمومی»؛ با خزش انجمن به‌روز می‌شود. زمان‌ها به UTC است.

فقط محتوای عمومی، API رسمی Telegram. دربارهٔ ما · پرسش‌ها · محدودیت‌های ایندکس · حذف یک صفحه · کاتالوگ · جست‌وجو · روش محاسبهٔ ما