How to change size of page.drawer in Flet framework?
I’m creating my APP using Flet framework and I want to add a drawer, from tutorial I saw this
I’ve some trouble studing python flet. Is it bug or my fault?
Please help me find the reason for this code behavior
There are 3 identical boxes (flet Containers) with switch.
Only first switch is available for switching. Other two are not
Why ???
AttributeError: ‘NoneType’ object has no attribute ‘drawer’
# -*- coding: utf-8 -*- “”” Created on Wed May 8 08:08:13 2024 “”” import flet as ft def main(page:ft.page): def change_route_1(e: ft.RouteChangeEvent): page.views.clear() page.views.append(ft.View(“/page_1”,[page_1])) page.go(“/page_1”) page.update() return True def change_route_2(e: ft.RouteChangeEvent): page.views.clear() page.views.append(ft.View(“/page_2”,[page_2])) page.go(“/page_2”) page.update() return True def open_first_drawer(e): e.control.page.drawer = edit_drawer edit_drawer.open = True page.update() return True edit_drawer = ft.NavigationDrawer( elevation=15, indicator_color=ft.colors.AMBER, surface_tint_color=ft.colors.AMBER, […]
Python Flet single instance
Is it possible to create a single instance Flet web application? I would like to create a simple page just for my local network and run it on a raspberry controlling its GPIOs.
How can I see the Python source code of a MacOS app created through Flet?
Any way I can see the source code of a MacOS app created through Flet? I just need to see the main Python code and was wondering if there’s even a way to get to that.