How do i remove AppBar? #959
-
i created and added a AppBar to page and i like to remove the appbar at a certain point. import flet as ft def main(page: ft.Page): ft.app(target=main, view=ft.FLET_APP_HIDDEN) i made sure that my app has a list of controls(len=3) but it didnt include appbar i added.
my question is that how do i remove appbar i added to the page? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
i tried several other things and finally i found it. page.appbar = None the code above will do. |
Beta Was this translation helpful? Give feedback.
-
page.appbar = None
page.update() will do the job |
Beta Was this translation helpful? Give feedback.
will do the job