Flet (flutter in python?)

Yesterday, someone told me about Flet:

Looks very much Flutter-inspired, but Python. Interesting!

2 Likes

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:

https://www.reddit.com/r/FlutterDev/comments/1q87a7j/comment/nyln4w6/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

I recommend everybody to stay very much away from that garbage…

1 Like

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.

1 Like

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_preferences plugin 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 use acme.one_app.auth_token key and in another app use acme.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.

1 Like

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.