Ты щас в разделе запуска программы
Home page
Unhandled error in main() handler
Traceback (most recent call last):
File "D:\Projects\Code\Python\Test_environment\.venv\Lib\site-packages\flet\app.py", line 354, in on_session_created
main(session.page)
File "d:\Projects\Code\Python\Test_environment\main.py", line 33, in main
route_changed()
File "d:\Projects\Code\Python\Test_environment\main.py", line 16, in route_changed
page.views.append(home_page(page))
^^^^^^^^^^^^^^^
File "d:\Projects\Code\Python\Test_environment\home.py", line 5, in home_page
return ft.View(
^^^^^^^^
TypeError: View.init() got multiple values for argument 'controls'
🎨💻🤖 READY TO LEARN GRAPHICS DESIGN, WEB DEVELOPMENT & ROBOTICS?
Do you want to create stunning designs, build your own websites, and explore the world of robotics? This is your chance!
Join my Graphics Designing, Web Development & Robotics Class and learn:
✨ Professional graphic design (logos, flyers, branding)
✨ Website development (HTML, CSS, and more)
✨ Robotics fundamentals (sensors, automation, smart projects)
✨ Real-life projects to build your portfolio
✨ Skills that can help you start earning
👨💻🤖 Beginner-friendly — no experience needed!
📍 Flexible learning
⏳ Limited slots available!
Take the first step towards becoming creative and tech-skilled.
👉 Click the link below to join now!
https://chat.whatsapp.com/LKZVyLYp9j0JP19BUjfOna?mode=gi_t
Bruno Brownflet-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 refine
Brother about this
How I must order dart code for flet-pkg can make it in python ?
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. 😉😊👍
@brunobr0wn my brother I work with flet_onesignal
I want know how to send notification to a one person on 2 not everyone
U use this and it not work