Flet is an architecture that wraps Flutter for use in Python, allowing desktop, web and mobile* applications to be created. Keeps the Hot Reload feature of Flutter 🔥Â
The primary references are the officialÂ
Flet Docs - this includes references for all Controls & some good Tutorials
Flet Gallery - interactive Flet demos as Progressive Web Apps
And of course, see our slides!
Flet is under active development. Make sure you upgrade your installed package to get the latest features:
pip install flet --upgradeÂ
*The official Flet project now has Android and iOS app testing - the app is served from your dev system to your phone. And, Flet now has a build command to make deployable webapps, mobile apps and desktop apps.Â
Here are some snippets that were needed by some students and you might want to include in larger projects
Camera App with Flet & OpenCV [only displays image and saves files, but OpenCV has lots of cool features to try playing with!]
Flet + Matplotlib + Basemap displaying location pinsÂ
Custom Control Example - TODO
Using a Navbar with just setting visibility on elements in a row [recommended]
Routing: Not recommended if not building a webapp - TODO UPDATE
Basic Routing with debugging print
Routing using a Navbar & Views
Extra Stuff
Flet Story Board - drag and drop Flet App front-ends
https://github.com/SKbarbon/Flet_StoryBoard/wikiÂ
More small examples