Keep Bottom Navigation Bar across Page Route [Flutter]

preview_player
Показать описание
Persistent Bottom Navigation Bar across Page Route.

TIMESTAMPS
DIY Multiple Navigators - 00:30
Custom Navigator - 04:36
Cupertino Scaffold - 06:04

Burna Boy x Santan Dave Type Beat "Passionfruit" By RAMOON
Рекомендации по теме
Комментарии
Автор

In case you did the DIY way. You may want to prevent some pages from using the ancestor's bottom navigation. I passed `rootNavigator: true` as this example:

Navigator.of(context, rootNavigator: (context) => new AuthScreen()));

Good luck

packtheluggage-juan
Автор

About 4:20 in, your comment about the medium article code, lol. I think Andrea is a wonderly talented guy, I have learned a lot from him, and have taken classes with him and from others with a similar style, but I find myself rewriting it as we go because it just seems unbelievably complex. You have certainly summed it up in an understandable way, thank you!

jrheisler
Автор

I will be honest, I am new to flutter, and developing and learning it is most of the time is so exhausting mentaly

_levyathan_
Автор

I have wasted my 3 days of life to invent what is called in this video DIY and then realized that someone else has already done this before, now it 2 days and I am just crying (wasting again)

AbdolHussain
Автор

I would have really loved that first option, it's just so long, but it's a great video, thank you very much man

yourfavedev
Автор

Awesome video man.. Finally someone making a video about how to actually deal with this weird navigation bar across different scaffolds

alimodz
Автор

This is explained so well ! Thank you Thank you Thank you sooo much man! :) You really made my day. I would have gone crazy looking for a solution otherwise. God bless you & stay safe mate !

rohittp
Автор

thankyou so much, the cupertinoTab is easy to deal with and much satisfying!! <333

saba
Автор

Cupertino is the hardest to style but at least it has the best functionality lol they should adapt that in material as well tbh

sarerusoldone
Автор

Tanks man, I use Cupertino because it is super simple and keep alive the instances. Very, very good explanation.

fabiolucasdev
Автор

Thank you so much bro, i was struggling with all kind of state handling to solve this issue and i found you video. Great explanation by the way!

elhadjbabacarcisse
Автор

Amazing video. why can't I use Named routes? Is there any solution for that

dipinsonwani
Автор

My favourite example is the iOS YouTube App: a separate and session-persistent navigation stack for each tab.

The question I have is whether each tab is routable. I can’t recall an instance where it was or needed to be.

wisestein
Автор

In DIY method, if I only want keep first page alive, others will reset when switch to other page, can you help me solve it? I'm searched around but found nothing as expected

ddwsc_xv
Автор

interesting solution, but has many downsides, especially on the app performance by rebuilding the screen and navigation bar everytime you switch between screens. personally i would use a single screen with one navigation bar and providers for the different lists

rekaiadraoui
Автор

custom navigator plugin is not working because non-null safety in this plugin

kuberanb
Автор

Awesome video, super useful! One additional use case - what if I wanted the bottom nav bar to not show for certain pages? For example a form page nested within one of these navigator stack where I want the bottom bar to not show, but if the page is popped or submitted then bottom bar to show again?

jabedamin
Автор

Thank you for the video! Is there something like the Cupertino Solution for Material Apps?

tillschickle
Автор

Best video so far. Exactly what i was looking for. Thank you so much you saved me so much headache ❤️

m.shehryar
Автор

thank you boss.. i was betraying for more than a day.. i got the solution from here

hafeez-rana