webfactorymk / flutter-template

Flutter template project - Simple ToDo app with scalable project structure.
https://webfactory.mk/
MIT License
166 stars 36 forks source link

[Question} - Bottom navigation #34

Closed ArbenMaloku closed 2 years ago

ArbenMaloku commented 3 years ago

First of all, thanks for the template. I was wondering if there is a chance to provide us an example with BottomNavigation.

Already did something, but the main problem for me is navigating between tabs and showing correct state of the back button.

For example, when I navigate to "Home" tab, back button is visible. Should I use nested navigation per each tab?

Would be curious to hear from you .

Thanks again. Simulator Screen Shot - iPhone 12 Pro Max - 2021-07-19 at 00 13 29

dimitar-zabaznoski commented 3 years ago

We will provide a bottom navigation bar eventually, but for now, we're busy working on other projects so we can't help you immediately.

I'd use nested navigation per tab only if your tabs are very complex, otherwise, try to make the home router delegate work with your current tabs. Taking a deep dive into Nav 2.0 will greatly help you here.