Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support different NavigationBars to choose from #8

Open
mohamoha6200 opened this issue Aug 3, 2022 · 7 comments
Open

Support different NavigationBars to choose from #8

mohamoha6200 opened this issue Aug 3, 2022 · 7 comments
Labels
Feature Request New feature or request

Comments

@mohamoha6200
Copy link

Hello and thank you for this great package full of highly requested features.

For most modern apps one would need a custom BottomNavigationBar that would cater to his/her needs, unfortunately navbar_router doesn't support different navbar types for example let's say I wanna use this BottomNavigationBar from this package : https://pub.dev/packages/circular_bottom_navigation , it's currently impossible since navbar_router tries to build upon the default BottomNavigationBar which is quite limited , so maybe you would consider adding the ability to pass the whole BottomNavigationBar widget as parameter instead of a set of decoration parameters in order to lift this limitation ?

Something like what this package provides would be awesome; https://pub.dev/packages/bottom_nav_layout#different-bottom-bars

For a better navigation/experience you might wanna consider adding some sort of visited tabs history in order to manage back button navigation for Android, apps like instagram,netflix ... handle the navigation history by keeping track of the order in which the user visits different tabs such a feature would be a perfect addition to your package, for inspiration take a look at the solution implemented in this one : ttps://pub.dev/packages/bottom_nav_layout#page-back-stack

@maheshj01 maheshj01 added the in triage This issue is currently being triaged label Aug 4, 2022
@maheshj01
Copy link
Owner

maheshj01 commented Aug 4, 2022

Hi @mohamoha6200, Thanks for filing the issue.

For most modern apps one would need a custom BottomNavigationBar that would cater to his/her needs,

This has been on top of my mind to allow customization to BottomNavigationBar this would surely be a great addition.

For a better navigation/experience you might wanna consider adding some sort of visited tabs history in order to manage

This is a great feature request too, Can you please file that as a separate issue for better tracking?

Thanks

@maheshj01 maheshj01 added Feature Request New feature or request and removed in triage This issue is currently being triaged labels Aug 4, 2022
@mohamoha6200
Copy link
Author

Hey, you're welcome,
Check out this other package, it supports both suggested features too but lacks built-in nested navigation.
https://pub.dev/packages/bottom_navigation_view

@maheshj01 maheshj01 changed the title Support different BottomNavigationBar(s) / Back button navigation for Android Support different BottomNavigationBar UIs for Android Aug 15, 2022
@maheshj01
Copy link
Owner

maheshj01 commented Dec 26, 2022

Update: v0.4.1 is out Added a new navbar type property which now supports two types of Navbar
NavbarType.standard, NavbarType.notched

ezgif com-gif-maker (2)

@maheshj01
Copy link
Owner

maheshj01 commented Dec 26, 2022

Inspirations

image

-[ ]Cupertino Styled TabBar

image

More design inpirations from some of the existing packages .

@maheshj01 maheshj01 changed the title Support different BottomNavigationBar UIs for Android Support different NavigationBars to choose from Dec 26, 2022
@maheshj01
Copy link
Owner

We should add support for material3 NavigationBar, which can basically be a wrapper around the built in NavigationBar.

@maheshj01
Copy link
Owner

Update v0.5.0 is out and adds support for NavbarType.material3

m3 navbar

@maheshj01
Copy link
Owner

maheshj01 commented Jul 29, 2023

v0.6.0 adds support for floating navbar

Image 1 Image 2
Floating Navbar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants