sup
I need some help with my app.
I have two custom AppBars, the first is used when the user is not logged. The second one is displayed after the login.
I just implemented a API call that returns the user data and updates the AppBar with the username.
How do I persist the AppBar with the username between Navigator calls? It's costly to call the API every time the context is updated.
Currently, each page of my App returns a Scaffold with AppBar and body attributes
Thank you.