Flutter Tutorial - Sidebar Menu & Navigation Drawer With Routing

Поделиться
HTML-код
  • Опубликовано: 12 июн 2024
  • Let's create a Flutter Navigation Drawer with routing that is displayed as a Sidebar Menu within your Flutter app.
    Click here to Subscribe to Johannes Milke: ruclips.net/user/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/navi...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    RESOURCES
    Navigation Rail Tutorial: • Flutter Tutorial - Nav...
    InkWell Tutorial: • Flutter Tutorial - Ink...
    BuildContext & Builder Tutorial: • Flutter Tutorial - Bui...
    TextField Tutorial: • Flutter Tutorial - Tex...
    Search TextField & Search Bar Tutorial: • Flutter Tutorial - Sea...
    App Bar Tutorial: • Flutter Tutorial - App...
    Navigation & Routes Tutorial: • Flutter Tutorial - 1/2...
    Navigation & Named Routes Tutorial: • Flutter Tutorial - 2/2...
    Status Bar Tutorial: • Flutter Tutorial - Sho...
    System Navigation Bar Tutorial: • Flutter Tutorial - Hid...
    WillPopScope & BackButton Tutorial: • Flutter Tutorial - Wil...
    Flutter Layout Basics Tutorial: • Flutter Layout Basics:...
    AutoComplete TextField Tutorial: • Flutter Tutorial - Aut...
    Search & Filter In ListView Tutorial: • Flutter Tutorial - Sea...
    TextField Autofill Services Tutorial: • Flutter Tutorial - Aut...
    Reorderable ListView Tutorial: • Flutter Tutorial - Reo...
    TIMELINE
    0:00 Introduction Sidebar Menu & Navigation Drawer
    0:21 Create Navigation Drawer
    3:33 Create Sections For Navigation Drawer
    4:00 Navigation Drawer With Routing & Navigation
    6:30 Close Drawer - Close Navigation Drawer Programmatically
    7:04 Add Navigation Drawer In Multiple Pages
    7:28 Open Drawer - Open Navigation Drawer Programmatically
    9:00 Change Navigation Drawer Position
    9:44 Create Header For Navigation Drawer
    SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
    *********
    SOCIAL MEDIA: Follow Me :-)
    RUclips | ruclips.net/user/JohannesMilke...
    Twitter | intent/follow?ori...
    Linkedin | / johannesmilke
    Instagram | / johannesmilke
    Github | github.com/JohannesMilke
    Medium | / johannesmilke
    Website | johannesmilke.com
    LEARN MORE
    SOURCE CODE | github.com/JohannesMilke
    ARTICLES | / johannesmilke
    PLAYLISTS
    All Flutter Videos | • Flutter Tutorial - Flu...
    Widgets - Flutter | • Flutter Tutorial - Flu...
    Plugins - Flutter | • Flutter Tutorial - Flu...
    Animations - Flutter | • Flutter Tutorial - Tra...
    Designs - Flutter | • Flutter Tutorial - Flu...
    Firebase - Flutter | • Flutter Tutorial - Pag...
    State Management - Flutter | • Flutter Tutorial - Riv...
    CREDITS
    Copyright song "Corporate Technology" by scottholmesmusic.com
    #Flutter #Tutorial #JohannesMilke
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
    bit.ly/JohannesMilke
  • НаукаНаука

Комментарии • 103

  • @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/navigation_drawer_example

  • @jorgwei8590
    @jorgwei8590 2 года назад

    The amount of times that your vids are the last one I need to watch to acheive what I want to acheidve is astounding! Very nice work. Thanks!

  • @codoweb6889
    @codoweb6889 Год назад +2

    You are a GEM ! The Best Flutter Developer and Teacher 🙏🙏

    • @HeyFlutter
      @HeyFlutter  Год назад

      Glad to hear that, Thank you CodoWeb! 😊

  • @michaellitchard2620
    @michaellitchard2620 2 года назад +1

    Once again I have relied on one of your succinct, relevant instructional videos. You deserve all success.

  • @joaovictor16_22
    @joaovictor16_22 2 года назад

    This tutorial is simply impressive. Thank you!

  • @ambuenaventura17
    @ambuenaventura17 3 года назад +1

    Very much helpful! Thank you for sharing your knowledge. More power!

  • @user-iw2md2gl4q
    @user-iw2md2gl4q 2 года назад

    This has been extremely helpful. Thank you!

  • @kalananirmal1049
    @kalananirmal1049 2 года назад +1

    you made my day . thank you brother

  • @markmullenbjj
    @markmullenbjj 2 года назад

    Another great tutorial by my favorite Flutter channel

  • @aqua6150
    @aqua6150 2 года назад

    Thank you so much for this. It was very helpful 🙌.

  • @Magnetron692
    @Magnetron692 2 года назад

    Hello Johannes, thank you, much appreciated! Best, Ralf

  • @ParitoshVaidya
    @ParitoshVaidya 3 года назад

    Nicely explained. Thanks!

  • @yedielseyoumabebe808
    @yedielseyoumabebe808 2 года назад

    Best video ever. Bless you man.

  • @abbyhuh1460
    @abbyhuh1460 2 года назад

    this video saved my code. thank you so much!

  • @SumanBaul
    @SumanBaul 2 года назад

    Very useful tutorial. Thanks Johannes, finally I was able to understand why my Scaffold context was not able to trigger.

  • @acarvey
    @acarvey 3 года назад +1

    Such a great tutorial! Very helpful (:

  • @hashankannangara8723
    @hashankannangara8723 3 года назад

    Important video..thanks ❤️

  • @dsm420
    @dsm420 2 года назад

    Very helpful tutorial
    Thanks for making

  • @samirdanial9346
    @samirdanial9346 2 года назад

    Thank you so much bro

  • @Aleinux
    @Aleinux 2 года назад

    Great tutorial. Thanks

  • @hassanfarzad808
    @hassanfarzad808 3 года назад

    thanks sir, very very helpful

  • @uditmishra5583
    @uditmishra5583 2 года назад

    Thanks, very useful😃👍

  • @ritiksaxenaofficial
    @ritiksaxenaofficial 2 года назад

    Awesome video ❤️. One suggestion, either use lined icons or filled icons for consistency.

  • @luis96xd
    @luis96xd Год назад

    Whoa, amazing tutorial, everything was well explained and the results were awesome! Thank you so much! 😄💯

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Glad to hear that, You are most welcome Luis M! 😊

  • @hindisong7315
    @hindisong7315 Год назад

    Your explanation is always easy.thank you

    • @HeyFlutter
      @HeyFlutter  Год назад

      You’re most welcome, Hindi song! 🙂

  • @goldenlife6166
    @goldenlife6166 3 года назад

    Great work

  • @americanonobrasil2128
    @americanonobrasil2128 Год назад

    This man is a real life Flutter wizard. My God.

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank you, Americano no Brasil! 🙂

  • @fatemakhalfan6980
    @fatemakhalfan6980 2 года назад

    You are great! .. Thanks a lot

  • @sanjaytandukar4325
    @sanjaytandukar4325 2 года назад

    Nice content, to the point easy to understand.

    • @sanjaytandukar4325
      @sanjaytandukar4325 2 года назад

      @@HeyFlutter I ran into a problem right now. I cannot navigate to another page using the switch case. Could you help me with that??

  • @ripudhman7355
    @ripudhman7355 Год назад

    You are a great teacher Boss !

    • @HeyFlutter
      @HeyFlutter  Год назад

      Glad to hear that, Thank you Ripu Dhman! 😊

  • @ytPEDROjoao
    @ytPEDROjoao 2 года назад

    You're the best!

  • @richopinions
    @richopinions 2 года назад

    THANK YOU SO MUCHHH

  • @johnpeter122
    @johnpeter122 3 года назад

    Thank you.

  • @gnrslashsp6501
    @gnrslashsp6501 3 года назад

    Amazing tutorial again Johannes!
    Can we open the drawer using gesture detector and slide from left to right?
    Would it be easy to implement this?

  • @mohammaedazzam314
    @mohammaedazzam314 2 года назад

    Thanks❤❤

  • @PadillaJosh
    @PadillaJosh Год назад

    Great tutorial

    • @HeyFlutter
      @HeyFlutter  Год назад

      Glad it was helpful, @PadillaJosh 😀

  • @md.sajjadhossain7216
    @md.sajjadhossain7216 2 года назад

    very nice

  • @TrikNgonlen
    @TrikNgonlen 3 года назад

    I love it...

  • @saitanush9453
    @saitanush9453 2 года назад

    tq very much

  • @augustwanger2651
    @augustwanger2651 2 года назад

    Hi Johannes, love you videos. Do you have any video explaining navigation in flutter with firebase? It would be awesome as I have a hard time navigating to child categories...

  • @firashikmat8836
    @firashikmat8836 2 года назад

    Firstly Johannes Melk, thank you so much for this great content, you are really wonder,
    Secondly
    I have a question
    How can I add appbar and drawer to the screens considering that the scaffold was deleted because I used the persistent_bottom_nav_bar package 🤔
    Thanks in advance 🌸🙏🏻

  • @_anas_shuaib
    @_anas_shuaib Год назад +1

    Everything is perfect 👍 But how can I change the look of her icon?

  • @pandudiaz2808
    @pandudiaz2808 2 года назад

    finaly i get how to use function drawer

  • @caioandrade998
    @caioandrade998 Год назад

    Perfect

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Thank you, Caio Andrade! 🙂

  • @lukengirubiu6492
    @lukengirubiu6492 3 года назад

    Good work

    • @lukengirubiu6492
      @lukengirubiu6492 3 года назад

      I ussually admire your tutorials. How i wish you can have one on push notifications without the use of FCM.

  • @emmehmetaliercan
    @emmehmetaliercan 3 года назад

    thank you so much Johannes. Can I question you. What is export and how to do it. can you please tell me a video.

  • @PrateekAher
    @PrateekAher 2 года назад

    Hey, good video. How do I alter the width of the drawer? Drawer >> Container >> width is not changing anything.

  • @rakshithgowda8782
    @rakshithgowda8782 8 месяцев назад +1

    subscribed

    • @HeyFlutter
      @HeyFlutter  8 месяцев назад

      Thanks, @rakshithgowda8782! 🙂

  • @Dawamid
    @Dawamid 3 года назад

    Stay safe. Keep it up. May i req simple state management in daily task tracker? )))

  • @StoreRunDotCom
    @StoreRunDotCom 2 года назад

    THANK YOU Johan! I wanted my pages to drop back to the drawer.. so I added it to favorites page, but when i went to the people page, then to favorites, then used the back button the people page was still open.. how do I close the page when I exit it please? Just trying to do proper garbage cleanup, Thank you again! Are you available for work? If so lets connect via DM

  • @gregorybai363
    @gregorybai363 3 года назад +2

    Hi, nice tut, taught me quite a few things!
    A few improvements to consider:
    1) Navigator.pushReplacement / Navigator.popAndPushNamed - 1 method instead of 2
    2) ListView.separated - instead of manually adding SizedBox-es

  • @robblucy4
    @robblucy4 2 года назад

    Hi, can we only add Drawers inside Stateless Widgets?

  • @chind0na
    @chind0na 2 года назад

    6:09 DRY. Use a List screens =[ PeopleScreen(), FavsSreen()];
    Then on the navigator use screens[index]

  • @daurenmukatayev2514
    @daurenmukatayev2514 2 года назад

    Thanks for video, please can you explain how use routes and navigation together, because I want implement login

  • @sunilgohel6700
    @sunilgohel6700 2 года назад

    Please use mapbox using flutter....and bloc library demo with api call

  • @SunGkd123
    @SunGkd123 3 года назад

    Thank you so much for this. It was very helpful 🙌.
    One question can we have an app drawer with SliverAppBar?

    • @TrikNgonlen
      @TrikNgonlen 3 года назад

      Yes, we can. Think about "widget on widget".

    • @SunGkd123
      @SunGkd123 3 года назад

      @@TrikNgonlenI tried it this afternoon and there were some issues, maybe I'm doing something wrong

    • @SunGkd123
      @SunGkd123 3 года назад

      @@HeyFlutter Thank you for the link 👍

  • @kajalkamani537
    @kajalkamani537 2 года назад

    Multiple listtile's navigator how can set

  • @conceptandintelligencelear6343
    @conceptandintelligencelear6343 2 года назад

    If route by navigation drawer then bottom curve navigation bar is vanished how can i fixed it??

  • @izayoinikki9275
    @izayoinikki9275 2 года назад

    I put a very long name and overflow occured... I had put overflow: TextOverflow.ellipsis, but nothing happen.. Can u help?

  • @tayyibahu5279
    @tayyibahu5279 2 года назад

    how do i save the state of the screens?

  • @stanleykhaw9549
    @stanleykhaw9549 2 года назад

    How do i create a function to go back to my home page?

  • @Abhishek-fc7fy
    @Abhishek-fc7fy 2 года назад

    I don't understand how your pages are sliding from the right. I saw this in so many navigation drawer videos, when they click on one of the drawer items, their target page slides in smoothly from the right side, but when I click, my page always comes up from the bottom. :(

  • @furkan7848
    @furkan7848 2 года назад

    Is there anyway to use gradient color in Drawer? I mean while using material instead of container.

    • @furkan7848
      @furkan7848 2 года назад

      @@HeyFlutter Thanks for the answer

  • @retrogamerdaddy
    @retrogamerdaddy 2 года назад

    Awesome video. I am stuck at one point though I have implemented logout feature and after logout Provider stops working :(

    • @retrogamerdaddy
      @retrogamerdaddy 2 года назад

      @@HeyFlutter my project was without provider initially and it was working fine. I have used firebase auth. Now I have added navigation drawer following your tutorial. Now when I do logout or login with firebase then navigation drawer listener stops working. This is the issue I'm getting

  • @natnaelhabtamu2799
    @natnaelhabtamu2799 2 года назад +1

    please do dynamic link please

  • @satyajitbihari4796
    @satyajitbihari4796 3 года назад

    How to add login page in drawer navigation bar???make a video plz sir

  • @mahsasheikhi3119
    @mahsasheikhi3119 3 года назад

    Hi, do you work with photo_manager package?

    • @mahsasheikhi3119
      @mahsasheikhi3119 3 года назад

      @@HeyFlutter Thank you for sharing your knowledge 😊

  • @rana_adnan218
    @rana_adnan218 Год назад

    here is possible that end Drawer open in left side ??

    • @HeyFlutter
      @HeyFlutter  Год назад

      No, @rana_adnan218 🙂 end drawer is made to be on right side, You can use normal drawer for opening it from left side

  • @flutteringonvsc2766
    @flutteringonvsc2766 2 года назад

    on ListView the error coming on clicking drawer button
    The getter 'key' was called on null.
    Receiver: null
    Tried calling: key

    • @flutteringonvsc2766
      @flutteringonvsc2766 2 года назад

      @@HeyFlutter I just want to override Back Button and Show Exit Confirm on click yes and it just go back page but cannot exiting from app ?

  • @satyajitbihari4796
    @satyajitbihari4796 3 года назад

    How to add both buttom navigation and side navigation bar in one page ??

  • @khoaiarrt
    @khoaiarrt Год назад

    how to displays user informations connected to firebase with this code please? i try this "final email = 'Email: ' + user.email!;" but it not working

    • @HeyFlutter
      @HeyFlutter  Год назад

      Thank You Resine Art! Follow this link: stackoverflow.com/questions/67744698/flutter-display-user-information-using-firebase-auth
      I hope you will get your answer 🙂

    • @khoaiarrt
      @khoaiarrt Год назад

      @@HeyFlutter hmm I will check it thanks for your answer

  • @bhupeshpattanaik7150
    @bhupeshpattanaik7150 3 года назад +1

    Which country ?? Your accent seems to be unique 👍

  • @bukkaudaykumar7965
    @bukkaudaykumar7965 2 года назад

    how to sub menu item

  • @shanglee643
    @shanglee643 3 года назад

    Can you not prepare the code before making the video, sorry but i feel pretty nervous.

    • @shanglee643
      @shanglee643 3 года назад

      @@HeyFlutter I am actually a big fan of you Mike. Thanks for your good works.

  • @MohammadAli-vj4sr
    @MohammadAli-vj4sr 3 года назад

    your teaching method just awesome but code skipping which is really boring...

    • @MohammadAli-vj4sr
      @MohammadAli-vj4sr 3 года назад

      @@HeyFlutter Not this video your every video you skipped code . do normal coding . don't split coding time while editing your video

    • @adeelzahid9622
      @adeelzahid9622 3 года назад

      HI, Mohammad Sapan, This Channel is made for Intermediate flutter developers, Go Ahead and learn some basics concepts before visiting this channel. Go to the videos or playlist section, maybe you found some basics video tutorials about flutter on this channel.

  • @mazenal-ali765
    @mazenal-ali765 Год назад

    but the name and email should be retrieved from the database (cloud firestore) how can we do that please any video or guide

    • @HeyFlutter
      @HeyFlutter  Год назад +1

      Thank You Mazen Al-ali! Follow this link: stackoverflow.com/questions/63265367/retrieve-cloud-firestore-data-just-for-user-logged-in-flutter-application
      I hope you will get your answer 🙂

    • @mazenal-ali765
      @mazenal-ali765 Год назад

      @@HeyFlutter thank you johannes for your awesome work, yes i already managed to solve it.