Just released Flet 0.4.0 with exciting new features:
* Standalone web apps with
@Pyodide
running in the browser and hosted on a free hosting.
* Faster and more secure architecture with a built-in Fletd server.
* Async apps support.
Flet Controls Gallery app () hosted on
@flydotio
() as FastAPI app () has been "flying" great so far - memory consumption is around 170 MB and not growing! No app crashes/re-starts since migrating to FasAPI!
A fresh Flet release with new controls: ResponsiveRow, BottomSheet, NavigationBar, Tooltip, HapticFeedback and ShakeDetector paving the path to a mobile Flet Studio:
We've just released Flet 0.1.60 with OAuth user authentication :closed_lock_with_key: and other sweet features :candy::tada::
* Authentication
* Client storage (aka user preferences)
* Session storage
* Encryption API
* SVG images, and more
Here is more "advanced" Flet drag-and-drop example:
In this example both the item and the list are DragTargets, so dragged item could be either inserted before another item or appended to the end of a list.
An interesting observation: it just takes 3 days to write a code and then 2 days to update docs, write release notes, code examples and a blog announcement.🤔
@toxx_avenue
@KivyMD
We are actively working on native mobile support. At the moment it could be delivered to a mobile desktop as Progressive Web App (PWA) only.
@toxx_avenue
@KivyMD
It's going to be Server-Driven UI (SDUI) approach though where program logic stays on the server and only a thin client (either standalone app in a store or a Flutter component) is delivered to a mobile.
@mysticaltech
Generating a Flutter client on the fly would require users to have Flutter SDK on their machines and you can bake a client for the same OS only. However, in the future we might explore this idea as it would allow building clients of a smaller size and tailored for your app.
@mysticaltech
This is, actually, how Flet works now - a pure Flutter app is running on mobile while Python logic is on the server. Though we are going to offer an option to run Python directly on mobile.
@mysticaltech
Flet does not generate a Flutter client to run the app. Instead, it has pre-built clients for *all* platforms and containing *all* components. Python app on the server holds UI state and pushes it to a client on any updates. Here's Flet architecture: