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 a build system for Windows, MacOS, Linux, Android, iPhone, and Web.Â
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!]
Custom Control Example - TODO
Using a Navbar with just setting visibility on elements in a row [recommended]
Routing: Not recommended unless you are building a webapp - TODO UPDATE
Basic Routing with debugging print
Routing using a Navbar & Views
Demonstrates multiple view app with each view defined in its own class and some extra helper classes.
Uses threading to make a separate loop that timers and clocks are registered with to update.
Extra Stuff
Awesome Flet - Collection of Flet resources, packages, applicationsÂ
Flet Story Board - drag and drop Flet App front-ends
https://github.com/SKbarbon/Flet_StoryBoard/wikiÂ
More small examples