Flutter Tutorial - Bottom Navigation Bar | The Right Way | Without Routes

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

ความคิดเห็น • 249

  • @HeyFlutter
    @HeyFlutter  ปีที่แล้ว

    👉Join 12 Week Flutter Training: heyflutter.com
    👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f
    Source Code: github.com/JohannesMilke/bottom_navigation_bar_example

  • @seiwonpark
    @seiwonpark 3 ปีที่แล้ว +18

    oh my god I just got stucked in 'paging' last night and you've uploaded this video today morning(at my time) 😭😭😭 thank you so much!!

  • @davidtzirima9301
    @davidtzirima9301 3 ปีที่แล้ว +11

    This guys is the real deal when it comes to flutter tuts , you make learning simple and enjoyable kudos , Thanks man

  • @tihitnatsegaye1671
    @tihitnatsegaye1671 2 ปีที่แล้ว +1

    you have no idea how happy I am after watching this vedio , i have been trying to make my screen not rebuild when navigating through the screens for hours because i was loosing the data everytime...............your a saviour man..........thank you so much bro🙏🙏👍👍👍👍👍

  • @gumdum6764
    @gumdum6764 2 ปีที่แล้ว +3

    Wow. I've been using all types of packages and navigation solutions trying to get this to work. And here it was in one of your videos the whole time. Thank you, my bottom navigation system now works properly without a bunch of cludgy routing.

  • @startswithzed
    @startswithzed 3 ปีที่แล้ว +1

    Whenever I need a tutorial for flutter I always check if you've made one because then I don't need to look anywhere else. You explain very well. Thank you.

  • @sokhibabdurasulov3323
    @sokhibabdurasulov3323 2 ปีที่แล้ว +1

    wow, as you explain I get questions and second later you answer the question. how is that possible. I guess you really understand brain flow of a beginner. Definitely will watch the every single video you made. Thanks

  • @gokberkkeskinklc2022
    @gokberkkeskinklc2022 ปีที่แล้ว +2

    I loved how briefly you explained the implementation cumulatively and solve possible issues that we might face. Thanks a lot, greetings!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, You are welocome Gökberk Keskinkılıç! 😊

  • @reaganza23
    @reaganza23 3 ปีที่แล้ว +2

    Hi Johannes. You can't understand tons of headaches you spared me by just applying concepts of your videos. Can you do Bottom Navigation Bar with routes
    because we find ourselves with too many screens. Thank you and keep up the good work.

  • @tripsam4655
    @tripsam4655 2 ปีที่แล้ว

    You are very underrated. The videos are short, easy to understand and to the point. Thank you, well done and keep going!

  • @barry.anderberg
    @barry.anderberg 2 ปีที่แล้ว +3

    A nice touch is to wrap IndexStacked in a PageTransitionSwitcher so you can have fade animations, for example, between each of your screens.

  • @sankalpasenevirathna
    @sankalpasenevirathna 2 ปีที่แล้ว +2

    You're a life saver!!! 🙏🤯 Thanks for this tutorial man! And please, keep making tutorials like these.

  • @techlabbyhamza
    @techlabbyhamza ปีที่แล้ว

    Thanks
    You've solved my problem in just few minutes. by a simple adding a widget IndexedStack. I was stuck on routing the pages.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad it was helpful, @MuhammadHamza-ft4ef 😀

  • @Hello-eq5rm
    @Hello-eq5rm 3 ปีที่แล้ว

    You have the solution of every problem about flutter, which I have in my mind. ❤ from Bangladesh

  • @progtom7585
    @progtom7585 ปีที่แล้ว +1

    Brilliant, simple. succinct. Bottom nav done in no time! Thanks heaps

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You’re most welcome, progTom! 🙂

  • @mario_gabriel
    @mario_gabriel 2 ปีที่แล้ว +1

    You helped me so much! I had a lot of trouble making this work and some other tutorials made me do such a mess when it was this simple.

    • @mario_gabriel
      @mario_gabriel 2 ปีที่แล้ว

      @@HeyFlutter No, thank YOU

  • @jamesalcaraz8729
    @jamesalcaraz8729 2 ปีที่แล้ว +6

    Any guidance on how to combine this with routes? There will be cases where you'll still use routing like subpages inside the top level ones.

  • @kucingmalaya1177
    @kucingmalaya1177 3 ปีที่แล้ว +2

    Thank you. Proper tutorial 👍

  • @wubetayalew7728
    @wubetayalew7728 2 ปีที่แล้ว

    The most satisfying video of bottom navigation bar .. tnx alot

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      You are welcome, Wubet Ayalew 😊

  • @nicholasovunda7663
    @nicholasovunda7663 2 ปีที่แล้ว

    Thank you so much for this tutorial... manually coded everything the last time... this is a life saver

  • @sethm3194
    @sethm3194 3 ปีที่แล้ว

    Love your videos watch them all the time. I'm and audiophile and video editor. Can I recommend that you lower the 20 - 60 Hz range on your mic, so it does not pop so much. Thanks again.

  • @Amine0027
    @Amine0027 2 ปีที่แล้ว

    Thans man after 3 day finally i solve one of my tiered problems 😂😂
    Thanks for you firstly and stackitem secondly
    You got one subscriber 😎

  • @saadansari1643
    @saadansari1643 ปีที่แล้ว

    Simple, logical and beautiful explanation. Thank you sir.

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Glad to hear that, You are welcome Saad Ansari! 😊

  • @eNONO-ot4zh
    @eNONO-ot4zh 3 ปีที่แล้ว

    Thank you my Johannes.👍👍
    I waiting BottomNavigation with navigation handler 👌

  • @jafarrezazadeh846
    @jafarrezazadeh846 ปีที่แล้ว

    nice explaining and the IndexedStack helped me a lot, thanks

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, Thank you jafar rezazadeh! 😊

  • @Kim-by5uy
    @Kim-by5uy 2 ปีที่แล้ว +1

    Great tutorial, simple and straight to the point

  • @ralphbu222
    @ralphbu222 2 ปีที่แล้ว +1

    Thank you for a fast, great tutorial!

  • @mustafashaikh7829
    @mustafashaikh7829 2 ปีที่แล้ว +1

    Great video @Johannes Milke. I've one issue could you please suggest me what should I do
    I follow all the step using indexed stack on home page I've called api on init state when I switch to next screen and come back to home screen the api call again

  • @user-xx9rp4gp9g
    @user-xx9rp4gp9g 3 ปีที่แล้ว

    Thank you for making videos so often.

  • @gudrat
    @gudrat 2 ปีที่แล้ว

    I cannot believe how awesome this video is

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

      Thank you, Gudrat Guluyev! 🙂

  • @TheSuperRaspberry
    @TheSuperRaspberry 2 ปีที่แล้ว +1

    This was so well explained - thank you! Keep it up :)

  • @sheikjaved0677
    @sheikjaved0677 2 ปีที่แล้ว

    Explanations placed Beautifully.....

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว +1

      Thanks, Sheik Javed! 🙂

  • @ShuaibShahzan
    @ShuaibShahzan 3 ปีที่แล้ว +2

    Thanks for the wonderful tutorial @JohannesMilke, but when I navigate to any other screen, then the BottomNavigationBar disappears. How do I keep the BottomNavigationBar persistent irrespective of the screen I'm on.

  • @iGhostr
    @iGhostr 3 ปีที่แล้ว

    Been waiting for this. Much much thanks to you!

  • @yedielseyoumabebe808
    @yedielseyoumabebe808 2 ปีที่แล้ว +1

    Jesus bless you man of God. You are a blessed person.

  • @CodeEnthusiast78912
    @CodeEnthusiast78912 6 หลายเดือนก่อน

    thank you, answered all my questions.

    • @HeyFlutter
      @HeyFlutter  6 หลายเดือนก่อน +1

      Glad to hear that, You are most welcome @CodeEnthusiast78912

  • @sungjunko
    @sungjunko 2 ปีที่แล้ว

    Thank you for this wonderful tutorial video. This helped me a lot.

  • @hyji.n2
    @hyji.n2 2 ปีที่แล้ว

    Best BottomNavigationBar tutorial so far. Everything worked. Worth 10 minutes, now subscribing :)

  • @mareknowak9137
    @mareknowak9137 3 ปีที่แล้ว

    Dobra robota Johan. Bardzo sobie cenię Twój kanał. Pozdrawiam z Polski.

  • @kibromhs7566
    @kibromhs7566 2 ปีที่แล้ว

    I love the way you teach. Can you do a video on sliverappbar and customscrollview?

  • @tiagon14
    @tiagon14 2 ปีที่แล้ว

    Thanks for this amazing video

  • @janammaharjan2699
    @janammaharjan2699 2 ปีที่แล้ว

    This is great. Thank you Milke.

  • @bunhengborath7698
    @bunhengborath7698 2 ปีที่แล้ว

    Best tutorial ever keep up the good work ❤️

  • @sivasankarpnair
    @sivasankarpnair ปีที่แล้ว

    Thanks a lot dude , you're a godsend

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks, S P N! 🙂

  • @محمدابوعليم-ص1د
    @محمدابوعليم-ص1د 2 ปีที่แล้ว +1

    you are the best really i love you

  • @cyemezocode
    @cyemezocode ปีที่แล้ว

    Happy for guy
    This is very interesting and jeep this job done.
    Now you got my subscribe
    👍

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad you liked it, CyemezoCode 😀

  • @Ksl.23
    @Ksl.23 2 ปีที่แล้ว

    Thank you so much Johannes!

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, Kushal Gurung! 🙂

  • @AzoeJame
    @AzoeJame 3 ปีที่แล้ว

    Thank you . Your video taught me very well.

  • @vidyasagargaikwad1268
    @vidyasagargaikwad1268 2 ปีที่แล้ว +1

    How to bottomnavigation bar globally, I did same as you with some extra screens using routes but it didn't work as expect. Please help

  • @ahmednabil4456
    @ahmednabil4456 2 ปีที่แล้ว

    Thanks bro, very useful video

  • @phonghuynh3551
    @phonghuynh3551 2 ปีที่แล้ว

    Amazing tut! 1M likes for you 🙏🙏🙏

  • @TheWhoIsTom
    @TheWhoIsTom 3 ปีที่แล้ว +1

    Incredible good explained like always :)

  • @programmerjowo
    @programmerjowo 3 ปีที่แล้ว

    thanks for this very detail tutorial

  • @AIteek
    @AIteek 3 ปีที่แล้ว +1

    What if i have 5 complex screens managed by the bottom bar? Isn´t it slow to keep them all on the build tree? I mean, if i change anything on screen 1, all the build methods from my other screens will be called too.

  • @ahmadwahyuawaludin6976
    @ahmadwahyuawaludin6976 2 ปีที่แล้ว

    Thanks for this tutorial, i subcribe

  • @uibychris11
    @uibychris11 2 ปีที่แล้ว

    Thank You
    So Much!

  • @krishnarajasagar7752
    @krishnarajasagar7752 3 ปีที่แล้ว +1

    Since we deleted the appbar from main.dart, do we have to add drawer individually to all the 4 screens for it to be seen?

  • @muhammadafzal237
    @muhammadafzal237 2 ปีที่แล้ว

    I need a floatingActionButton above the bottomNavigationbar shape: CircularNotchedRectangle. Please guide how to do it.

  • @behnamjafari2731
    @behnamjafari2731 2 ปีที่แล้ว

    for example, how to navigate between tabs within pages I'd like a button on my Home screen that takes me to the third item in the BottomNavigationBar.

  • @isurujn
    @isurujn 2 ปีที่แล้ว

    Thanks for the clear and concise tutorial, Johannes. One question.
    Let's say I want one tab's page to preserve the state but for another tab's page, I need it to be rebuilt every time I switch to it. Is it possible to achieve this?

  • @ZeddElijahdelMoro-k9m
    @ZeddElijahdelMoro-k9m ปีที่แล้ว

    amazing goodjob! You are a life saver. :)

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Glad to hear that, Thank you Zedd Elijah! 😊

  • @andresalba34
    @andresalba34 2 ปีที่แล้ว

    Will this work for routing to more and more pages and always displaying the bottom NAV bar?

  • @battleGroundAce832
    @battleGroundAce832 2 ปีที่แล้ว

    Hi Johannes, can we jump back to Home page with clicking on button which is present inside on Profile bottom bar?.

  • @vincenzoizzo978
    @vincenzoizzo978 2 ปีที่แล้ว

    Hi, what if I want to make sure that some keys are disabled on occasion? It can be done? Thanks in advance.

  • @bone29-k8r
    @bone29-k8r 2 ปีที่แล้ว

    thank you so much, really understandable for an amateur like me :D

  • @quokka0077
    @quokka0077 ปีที่แล้ว

    this video is so good. thank u

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You are welcome, arris!

  • @androider5830
    @androider5830 3 ปีที่แล้ว

    Hey nice tutorial
    Can you tell me the chenge bottom navigation item by click on any button thanks

  • @sparsetech1671
    @sparsetech1671 2 ปีที่แล้ว

    Thanks a lot sir.

  • @l.l.3609
    @l.l.3609 2 ปีที่แล้ว +1

    Hello Johannes! Could you please make a video on how to combine this with Pushing and Popping Routes? My BottomNavigationBar always disappears when a new Route is pushed. :(

    • @l.l.3609
      @l.l.3609 2 ปีที่แล้ว

      @@HeyFlutter Thank you very much! Havent known about this package. :-)

  • @vamshirahul59
    @vamshirahul59 2 ปีที่แล้ว

    I have a case where the local storage is updating, but since index stack keeps the state.
    The values are not getting updated so how should i do it..!

  • @prakashanuvadia8870
    @prakashanuvadia8870 2 ปีที่แล้ว

    superb explanation .....👌👍

  • @lahirumadhumadha
    @lahirumadhumadha ปีที่แล้ว

    informative. Thanks!!

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You are welcome, lahiru madhumadha!

  • @nikhilkukreja8498
    @nikhilkukreja8498 3 ปีที่แล้ว

    Thank you Johannes ❤️

  • @Medcisse1
    @Medcisse1 3 ปีที่แล้ว

    Thank for this video

  • @arvingabrieltrinidad2029
    @arvingabrieltrinidad2029 2 ปีที่แล้ว

    how about Keep Bottom Navigation Bar across Page Route? without rebuilding the screen everytime you switch pages

  • @phildinho1837
    @phildinho1837 2 ปีที่แล้ว

    The Best Bro

  • @harisankarl6292
    @harisankarl6292 2 ปีที่แล้ว

    Nice class.How to create a bottom navigation bar with FAB in the middle with a notch in flutter.

  • @crypleman
    @crypleman 2 ปีที่แล้ว

    follow ur nice tutorial...but i add 'some button in chat page, when press it will load new screen (different file) using navigator.push.... my bottom navigation bar covered by new screen, how to solve it? thanks....

  • @espartancode1702
    @espartancode1702 2 ปีที่แล้ว

    I have a small problem, and it is when in the home I have a ChildScrollView and they navigate to the end part and I go to another option and I return I find the screen in the same place I would like it to return to its initial state ...

  • @shibun5091
    @shibun5091 3 ปีที่แล้ว

    Make video about bottom navigation bar with provider

  • @khaledawad3642
    @khaledawad3642 2 ปีที่แล้ว

    thank you soooo much ♥ ♥ ♥

  • @ekanemekemini7433
    @ekanemekemini7433 2 ปีที่แล้ว

    Great video as always👌🏻

    • @HeyFlutter
      @HeyFlutter  2 ปีที่แล้ว

      Thank you, Ekanem Ekemini! 🙂

  • @Patrickus23
    @Patrickus23 2 ปีที่แล้ว

    If I have a more complex app with settings, profile user, notifications and chat page, can I have a statefull widget for every page?

  •  2 ปีที่แล้ว

    what if you want for example that "plus" button to change the current screen you're in? for example you want the navigation bar to jump to the chat when you press that?

  • @dantedt3931
    @dantedt3931 3 ปีที่แล้ว

    Awesome content,thanks!

  • @kehinsoftcompanyltd8397
    @kehinsoftcompanyltd8397 2 ปีที่แล้ว

    Thank you so much for such a wonderful tutorial, but when I put my code in main.dart file like you did, it doesn't work., but when I put it in HomePage it works. Secondly, I used my widget in main.dart to design the splash screen and call materialApp then HomePage(); and theres no way to have a scaffold . When I try to create another widget for the bottom navbar it doesn't work. please what is the solution to the issue because putting the code on the Home may also create issue with the page content? Thank you

  • @ramprasadbhagat8072
    @ramprasadbhagat8072 3 ปีที่แล้ว

    Thank you so much😊

  • @jessenjie6202
    @jessenjie6202 ปีที่แล้ว

    Thankyou so much

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You’re most welcome, Jessen Jie! 🙂

  • @afnan011
    @afnan011 ปีที่แล้ว

    Thank you

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      You are welcome, @afnan011 😊

  • @syedrakibulhasanshuvo8262
    @syedrakibulhasanshuvo8262 ปีที่แล้ว

    Can you make a tutorial video of operamini bottom navigation bar?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks for the idea Syed Rakibul Hasan 😀, i have added it in my list of future videos

  • @sharpenednoodles
    @sharpenednoodles ปีที่แล้ว

    Great tutorial, isn't everyone just using provider these days for state management?

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว +1

      Hey, @sharpenednoodles 🙂 Not actually as there are plenty of options available some prefer GetX, Riverpod and so

    • @sharpenednoodles
      @sharpenednoodles ปีที่แล้ว

      @@HeyFlutter good to know what else is out there, thanks!!

  • @ritiksaxenaofficial
    @ritiksaxenaofficial 3 ปีที่แล้ว +1

    Awesome ❤️

  • @anghamjbeli3037
    @anghamjbeli3037 2 ปีที่แล้ว

    great thank you

  • @BlacKnight9
    @BlacKnight9 3 ปีที่แล้ว

    Hi,
    i having an issue and i hope you help,
    i am a beginner at programming in general and i am trying to make TabBar and BottomNavigator booth at the same time, and i seems everytime i try to add them booth, they booth stop working, they both has to be in body: property and i'm not sure what went wrong.

  • @akhtarabbas5760
    @akhtarabbas5760 2 ปีที่แล้ว

    just amazing bro .

  • @__mothership__8475
    @__mothership__8475 2 ปีที่แล้ว

    How to make bottom navigation bar persistent , let’s say if there is a button on Homepage() screen and on clicking I am navigating to some other page then how to show bottom navigation bar there also . Every time bottom navigation bar has to be there

    • @__mothership__8475
      @__mothership__8475 2 ปีที่แล้ว

      @@HeyFlutter yes you are right, but just as you did, I have a separate page where i have written code for bottom navigation bar and giving only 4 pages in List form. Now from those 4 pages i navigate to more pages.
      Giving bottom navigation bar to every page is lengthy process

  • @isaaccontee
    @isaaccontee 2 ปีที่แล้ว +1

    it could be useful if u put source code for free... just saying ...
    PS: for those who don't work this is how u should define the list:
    final screens = [
    OptionsPage(),
    HomePage(),
    FavoritesPage(),
    ];
    if u get this error: The argument type 'Diagnosticable' can't be assigned to the parameter type 'Widget?'

  • @Stefano.grosso
    @Stefano.grosso 3 ปีที่แล้ว

    What is the biggest advantage of this approach, or why is this the right way, instead of using different screens with routes?

    • @Stefano.grosso
      @Stefano.grosso 3 ปีที่แล้ว

      In General which approach do you recommend? Or does this depend on the Situation?

  • @abdelghanialmasri6695
    @abdelghanialmasri6695 ปีที่แล้ว

    Best Regards, best of the best

    • @HeyFlutter
      @HeyFlutter  ปีที่แล้ว

      Thanks, @abdelghanialmasri6695! 🙂

  • @1RRaider
    @1RRaider 3 ปีที่แล้ว

    Omg you're amazing man. Keep trying