maheshj01 / navbar_router

A Navbar widget for advanced usecases to improve user experience and save your time.
https://docs.maheshjamdade.com/navbar_router/
MIT License
28 stars 6 forks source link

Support different NavigationBars to choose from #8

Open mohamoha6200 opened 2 years ago

mohamoha6200 commented 2 years ago

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 commented 2 years ago

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

mohamoha6200 commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

Inspirations

-[ ]Cupertino Styled TabBar

image

More design inpirations from some of the existing packages .

maheshj01 commented 1 year ago

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

maheshj01 commented 1 year ago

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

m3 navbar

maheshj01 commented 1 year ago

v0.6.0 adds support for floating navbar

Image 1 Image 2
Floating Navbar