Yesterday, someone told me about Flet:
Looks very much Flutter-inspired, but Python. Interesting!
Yesterday, someone told me about Flet:
Looks very much Flutter-inspired, but Python. Interesting!
It is an absolute disaster of a project from a design perspective. It is not that long ago it was talked about on the r/FlutterDev subreddit where I wrote this:
I recommend everybody to stay very much away from that garbage…
Wait, so it’s actually using Flutter under the hood? That’s kind of hilarious, tbh.
Anyway, imitation is the highest form of praise and all that. I do wish them well, in all seriousness. I don’t think it’s a good idea, but I do find it interesting.
Sorry but I cannot wish a project well which involves massive security issues because of their own fundamental flawed design of their whole product. I mean, did you read:
Each Flutter application using
shared_preferencesplugin has its own set of preferences. As the same Flet client (which is a Flutter app) is used to run UI for multiple Flet apps any values stored in one Flet application are visible/available to another Flet app running by the same user.To distinguish one application settings from another it is recommended to use some unique prefix for all storage keys, for example
{company}.{product}.. For example to store auth token in one app you could useacme.one_app.auth_tokenkey and in another app useacme.second_app.auth_token.
Caution
It is responsibility of Flet app developer to encrypt sensitive data before sending it to a client storage, so it’s not read/tampered by another app or an app user.
This is absolute insanity… They even warn about using their own API (same link as before) because you can damage other installed apps on your system:
Clear the storage:
await page.shared_preferences.clear()Caution
clear()is a dangerous function that removes all preferences of all Flet apps ever run by the same user and serves as a heads-up that permanent application data shouldn’t be stored in the client storage.
This has been the case for years for this project.
I see their github has 16k stars, seems like a good number. Issue tracker is active too… Some people really really don’t want to learn a new programming language.
Supported by Invoice Ninja, Event Schedule and MakerLoft
It's All Widgets! • Flutter Pro • FlutterX • Flutter Streams • Flutter Podcast
Using contents of this forum for the purposes of training proprietary AI models is forbidden. Only if your AI model is free & open source, go ahead and scrape. Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.