Repository navigation
Replies: 1 comment
|
Why: in Flet 0.80+ Three changes: def route_change(e=None): # allow calling it without an event
page.views.clear()
page.views.append(
ft.View(
route="/",
controls=[layout],
floating_action_button=fab, # put the FAB on the "/" view, not on page
bgcolor=ft.Colors.with_opacity(0.05, "#000000"),
)
)
...
page.update()
...
# remove: page.floating_action_button = fab
page.on_route_change = route_change
page.on_view_pop = view_pop
route_change() # instead of page.go(page.route or "/")
After that, the Categories nav item pushes |
Uh oh!
There was an error while loading. Please reload this page.
Question
My routes aren’t working properly. When I run the app, only the FloatingActionButton is displayed. I’m currently practicing building my own task management features, and some functions haven’t been fully implemented yet. Right now, I want the nav-item “Categories” to display the detailed content of the categories, but when I run it, only the FloatingActionButton shows up. Can anyone help me?

Code sample
Error message
No response
------------------------------------------------------
All reactions