Work with NavigationRail #282
Replies: 3 comments
-
You can try using flet-route it will be easy for https://github.com/saurabhwadekar/flet_route |
Beta Was this translation helpful? Give feedback.
-
I solved it by adding the controls to the page, but I had to create structures to take care of the content change. You can see my project at https://github.com/carlos-alberto-code/punto-de-venta-uvm. In the views folder there is a module called AppView.py, there I declared in a view all the main content, but in a folder called naveasy I declared the structure that will help me to navigate and display the content. |
Beta Was this translation helpful? Give feedback.
-
@PierreFaraut |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I'm trying to understand how to use NavigationRail class, and therefore navigate between pages.
I'm trying to do a menu that will automatically display my pages, and then instantiate my page classes when needed.
I come up with this code for the moment:
The menu displays well the classes but:
Any ideas on how to fix these issues? Do you have a better way to use the NavigationRail to display pages?
Thanks for your help!
Pierre
Beta Was this translation helpful? Give feedback.
All reactions