Flutter bottom navigation where one page has tabs. You can use nested Scaffold widgets. This works in Flutter 1.1.8:
1 2 3 4 5 6 7 8 9 | // This is the outer Scaffold. No AppBar here Scaffold( // Workaround for https://github.com/flutter/flutter/issues/7036 resizeToAvoidBottomPadding: false, body: _getCurrentPage(), // AppBar comes from the Scaffold of the current page bottomNavigationBar: BottomNavigationBar( // ... ) ) |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.