I have a PageView in my app homepage and I want:
- The AppBar changes according to the page
- The BottomAppBar is fixed
The 2 solutions I imagined are:
- The hard one: have one Scaffold with appBar, body and bottomNavigationBar; use the PageView's PageController to animate the AppBar content.
- Have 2 nested Scaffold: the main one with body and bottomNavigationBar, and a second one in each PageView's page, with the AppBar.
So, I was wondering, it works, but is it "correct" syntactically to have nested Scaffolds?