Questions tagged [flet]

Flet is a framework that enables you to easily build realtime web, mobile and desktop apps in your favorite language and securely share them with your team.

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.

From idea to app in minutes
An internal tool or a dashboard for your team, weekend project, data entry form, kiosk app or high-fidelity prototype - Flet is an ideal framework to quickly hack a great-looking interactive apps to serve a group of users.

Simple architecture
No more complex architecture with JavaScript frontend, REST API backend, database, cache, etc. With Flet you just write a monolith stateful app in Python only and get multi-user, realtime Single-Page Application (SPA).

Batteries included
To start developing with Flet, you just need your favorite IDE or text editor. No SDKs, no thousands of dependencies, no complex tooling - Flet has built-in web server with assets hosting and desktop clients.

Powered by Flutter
Flet UI is built with Flutter, so your app looks professional and could be delivered to any platform. Flet simplifies Flutter model by combining smaller "widgets" to ready-to-use "controls" with imperative programming model.

Speaks your language
Flet is language-agnostic, so anyone on your team could develop Flet apps in their favorite language. Python is already supported, Go, C# and others are coming next.

Deliver to any device
Deploy Flet app as a web app and view it in a browser. Package it as a standalone desktop app for Windows, macOS and Linux. Install it on mobile as PWA or view via Flet app for iOS and Android.

94 questions
1
vote
1 answer

How to use own icons in Flet

I can't find how to load my own icons in Flet. I'm testing Flet with the intention of making a desktop app (pure desktop, not Internet needed), but I'm not able to use my own icons to begin with. I can only use the ones that come inside ft.icons,…
Fernando
  • 13
  • 2
0
votes
0 answers

Problems printing data generated by a for loop, python

I have a problem with the following part of my code, I have a function that is responsible for generating several containers where data such as the name and surname of the people are located, and also their identity card, all this data is extracted…
0
votes
0 answers

How can my text not display everything in flet?

When i try to display all the data from the variable in the text, it just doesnt work when i print the variable it returns the correct values can someone help me ? This is the code: email = mail.value if not email == "": search_filter =…
Renzo-M
  • 21
  • 3
0
votes
0 answers

What tool in Flet was used to make these tabs?

There's a program like this. It is written in Python, using the Flet library. What was used to make all these tabs-windows? I have looked through all the documentation and found nothing similar. All these tabs can be moved with the mouse. I've read…
0
votes
0 answers

How to Implement NavigationBar with flet Framework in Python?

I'm currently working on a project using the "flet" framework, a GUI framework for Python based on Flutter. I'm trying to implement a navigation bar with different views, similar to a tab bar, but I'm encountering some difficulties. I've created a…
0
votes
1 answer

python flet ButtonStyle animation_duration don't affect IconButton's color

import flet def main(page: flet.Page): page.add( flet.IconButton( icon="delete", style=flet.ButtonStyle( color={ flet.MaterialState.HOVERED: flet.colors.WHITE, …
0
votes
0 answers

Why do I get a connection error with the HTTP request inside a flet application?

I have a function that makes a request to a node.js server to get data from the database. Everything works in PyCharm, the server responds to requests and the error does not occur. After building the application with the flet publish main command.py…
lrrrtm
  • 1
0
votes
0 answers

resize animation in flet framework (python)

whenever I open my application made in the flet framework, from the python language, a resize animation is shown, because I changed the application's measurements. it happens pretty fast but I would like to remove that animation. how can I do…
0
votes
1 answer

How do I add elements to current page in Flet after appending a new layer?

I'm learning Flet module for Python and I'm stuck with navigation and routing. To add a new page/layer I use page.views.append() to create elements on a new page. But how do I add elements to the page I've just created outside this instruction? Can…
0
votes
0 answers

Easiest Python framework for implementing Android notifications with buttons

I'm looking for a mobile app development Python framework (possibly Kivy or Flet or something similar) that allows me to build an Android app with local push notifications that have buttons. So far I have seen the following: Make dynamic…
Eddy
  • 6,661
  • 21
  • 58
  • 71
0
votes
0 answers

How to work with client_storage without the "NotImplementedError" in flet, Python (Flutter for python)

Well, I want to write an async app on Flet with Telethon. It;s my first time so do not judge strictly pls. That's my code main.py import flet as ft import main_page async def main(page: ft.Page): page.title = "Telegram resender 3000" …
0
votes
0 answers

Get page.session value in flet

I'm trying to create a shop's GUI. My MVP's route_change definition looks like this: def route_change(route): page.views.clear() page.views.append( ft.View( "/", [ …
CKP
  • 31
  • 1
  • 4
0
votes
2 answers

Python Flet vertical alignment for column of controls

I'm trying to learn Flet (Python) by implementing a simple game with a rectangular field. A player makes a move by pressing buttons on his side. So, I want to place such buttons closer to his home (left-top corner for the first player and…
Serge Sotnyk
  • 123
  • 2
  • 11
0
votes
0 answers

Lower right half is not rendered

I am studying flet. I followed the tutorial and ran the sample code. During the process, I noticed that the lower right half of the screen is not drawn. Is there any way to fix this? desktop app view Environment OS: Windows 11 Home + WSL2 Python:…
0
votes
1 answer

It's Posibel create a class for Appbar in Flet?

I Try to make deffrent class for appbar in flet. as you know in main function we can change property after page.appbar= change property here ( writing code ). I want create diffrent class for appbar properties , something like that class…