Flutter Tutorial - NEW Material You Navigation Bar | The New Way | Flutter Navigation Bar

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • The new Flutter Material You Navigation Bar is here! Does it replace the aged Flutter Bottom Navigation Bar?
    Click here to Subscribe to Johannes Milke: czcams.com/users/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/mate...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/#/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    RESOURCES
    0:00 Introduction Material You Navigation Bar
    0:21 Create Material You Navigation Bar
    0:59 Set Background Color Of Selected Icon
    1:16 Change Navigation Bar TextStyle
    1:29 Change Navigation Bar Height
    1:38 Set Background Color Of Navigation Bar
    1:46 "onTap": Switch Between Navigation Bar Items
    2:40 Navigate Between Pages In Navigation Bar
    3:52 Set Selected Icon In Navigation Bar
    4:31 Only Icons: Hide All Labels In Navigation Bar
    4:41 Show Label For Selected Navigation Bar Item
    4:48 Set Animation Duration In Navigation Bar
    SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
    *********
    SOCIAL MEDIA: Follow Us :-)
    Twitter | / heyflutter_
    Linkedin | / heyflutter
    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
  • Věda a technologie

Komentáře • 127

  • @HeyFlutter
    @HeyFlutter  Před rokem

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/material_you_navigation_bar

  • @pandaengine
    @pandaengine Před 2 lety +4

    I was looking for this for a while now. It looks lovely! I am excited about the full Material You release.

  • @ritiksaxenaofficial
    @ritiksaxenaofficial Před 2 lety +8

    I was about to sleep but saw this notification. I like Material You design and loved this video 💙

  • @phonghuynh3551
    @phonghuynh3551 Před 2 lety +1

    Always clearly and simple to understanding! 💙

  • @khanisrarahmedalihusain
    @khanisrarahmedalihusain Před 2 lety +1

    Awesome as always 😊. Thanks for making such nice tutorial

  • @Apenschi
    @Apenschi Před 2 lety

    And another helpful video! You put out the videos with an unbelievable pace! I always wonder, how long you can keep it that way! Keep it up!

  • @SanusiAdewale
    @SanusiAdewale Před měsícem

    Thank you for this, short concise and covers everything necessary. I love it!

    • @HeyFlutter
      @HeyFlutter  Před 28 dny

      Glad you liked it, @SanusiAdewale 😀

  • @osamamicro1103
    @osamamicro1103 Před 2 lety

    So amazing and clear content, Keep it up!

  • @hawarhekmat1174
    @hawarhekmat1174 Před 2 lety

    ur the best flutter teacher, thanks for your awesome explanation 🙏

  • @isheriff82
    @isheriff82 Před 2 lety

    amazing, so much easier to understand ur lessons!

  • @frankeealcaayamanansin186

    WOW! I would gladly try this out!

  • @physicslakmal3754
    @physicslakmal3754 Před 2 lety

    Great Work. Thank you very much!

  • @luisayestaran175
    @luisayestaran175 Před 2 lety

    What an awesome tutorial. It's great how you're keeping up to date with Google's latest design trends, bro.
    Could you make a video on how to build the Material You search bar, please, man?
    Thanks!

  • @Hitogiri
    @Hitogiri Před 2 lety

    Just wat i was looking for. .. thank you, now i know what am going to do today

  • @mohammadshahid9820
    @mohammadshahid9820 Před 2 lety

    Good content as always bro. Thanks

  • @obeddougan1505
    @obeddougan1505 Před 2 lety +1

    Thank for this tutorial

  • @liqiye368
    @liqiye368 Před 2 lety

    Thanks a lot man you saved my day.

  • @2mvX
    @2mvX Před 2 lety

    thanks for this tutorial!

  • @aytunch
    @aytunch Před 2 lety

    Thanks Johannes, what about material you scroll/list view?

  • @sorunkehassan4531
    @sorunkehassan4531 Před 2 lety

    Great video love your contents but if want to push another screen ,still have the bottom navigation and state, how can I do this ?

  • @DguruZ
    @DguruZ Před 2 lety

    Very useful video bro! . I just have a question, How can I preserv the state of a Page ?

  • @md.ruhulamin7963
    @md.ruhulamin7963 Před 2 lety

    Thank you sir.

  • @mdshahidali3132
    @mdshahidali3132 Před 2 lety

    Awesome Sir.Please Make more Video of design

  • @Pedro5antos_
    @Pedro5antos_ Před 2 lety

    Thanks (again)!!

  • @wadalamen14
    @wadalamen14 Před 2 lety

    Dr. Johannes Milke 😁
    No words to say...

  • @dandusaivarma2416
    @dandusaivarma2416 Před 2 lety

    Hi Milke how do i change the icons size and icons color on selected . In default icons are in black. Thanks in advance

  • @thushankalana4940
    @thushankalana4940 Před 2 měsíci

    Great lesson❤️❤️❤️ Thank you so much Sir ❤😊

    • @HeyFlutter
      @HeyFlutter  Před 2 měsíci

      You are welcome, @thushankalana4940 😊

  • @abhishekagarwal6750
    @abhishekagarwal6750 Před 2 lety

    best navigation bar tutorial on the net!

    • @abhishekagarwal6750
      @abhishekagarwal6750 Před 2 lety

      @@HeyFlutter hey mike, I have another question how can i fetch data of current user from my firebase database??, I am developing an application in which there is a login screen and when user gets inside the home screen, and accesses his profile section then his whole profile shows up, all data should be fetched from firebase database. Can you help me with this??

  • @user-vq7du3in2x
    @user-vq7du3in2x Před 2 lety

    Could you make a video on how to let the user change the text size of the hole app in a app settings page

  • @prayandcode
    @prayandcode Před 2 lety

    Nice one bro

  • @dimasismu5738
    @dimasismu5738 Před 2 lety

    are U have a tutorials for signup/register in local db and login without firebase, thanks

  • @srunrathaes128
    @srunrathaes128 Před rokem

    Love your teaching

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Glad you liked it, @srunrathaes128 😀

  • @rog0079
    @rog0079 Před 2 lety +1

    Great as always! Can you do an animation series like Flutter using Rive/Flare/Lottie animations for beginners? It would be great!

    • @rog0079
      @rog0079 Před 2 lety +1

      @@HeyFlutter I see you've already created the videos on the same... You're exceptional! Keep up the good work sir! :)

  • @mojtabasaebi6096
    @mojtabasaebi6096 Před 2 lety

    Thank you LOve you

  • @rohaitastanoli3414
    @rohaitastanoli3414 Před 2 lety

    How to change icon color?

  • @aborayan
    @aborayan Před 2 lety

    thank you so much but how i can add bottom admob ads in app up or down bottom navbar

    • @HeyFlutter
      @HeyFlutter  Před 2 lety

      Thank You أبو ريان - Abo Rayan - تعلم اللغة الاسبانية مع! Follow this link: stackoverflow.com/questions/61544608/ads-overlapping-bottom-navigation-in-flutter
      I hope you will get your answer 🙂

  • @vandanaverma1399
    @vandanaverma1399 Před 2 lety

    how to change selected text color in navigator-bar

  • @zanovis
    @zanovis Před rokem

    Your videos rock!

  • @AnyThink5
    @AnyThink5 Před 10 měsíci

    very useful video ❤

    • @HeyFlutter
      @HeyFlutter  Před 10 měsíci

      Glad you liked it, @AnyThink5 😀

  • @obeddougan1505
    @obeddougan1505 Před 2 lety +1

    Please can U make video on how to make music player control show on lock screen...
    Please

  • @rashidkhan1845
    @rashidkhan1845 Před 2 lety

    sir i have already a body so where do i put body:screens[index],

  • @oluchukwuanthonia3343
    @oluchukwuanthonia3343 Před 2 lety

    Please do a video on how to use photo manager package to make custom image picker

  • @gangasunny1908
    @gangasunny1908 Před 2 lety

    Does this feature support in android 11 phones???

  • @yumyumviral1190
    @yumyumviral1190 Před rokem

    Thank you

  • @LuminousAsianBeauties
    @LuminousAsianBeauties Před 2 lety

    yeah. amazing. maybe you can some animation tutorial more💪💪💪

  • @sousanonymoi
    @sousanonymoi Před 2 lety

    how to remove the blue colors from the selected icon?

  • @evanhossain1618
    @evanhossain1618 Před 2 lety

    "flutter channel master" couldn't run in my vs code terminal. When run that command an error shows that is
    "git: fatal: 'origin/master' is not a commit and a branch 'master' cannot be created from it
    Switching channels failed with error code 128."
    how can I do that, please suggest.

  • @evansgitonga3046
    @evansgitonga3046 Před 2 lety

    what about persistent navigation bar

  • @AlwaysMore
    @AlwaysMore Před 2 lety

    can you make a tutorial about notification between mobile to another mobile using firebase by using mobile tokens ?

  • @theartoflife8008
    @theartoflife8008 Před rokem

    شكرا لك يا صديقي انت مذهل الله يبارك بك

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Glad to hear that, Thank you فن الحياة | The art of life! 😊

  • @rajenderkatkuri7642
    @rajenderkatkuri7642 Před 2 lety

    Is this new Navigation Bar only for Android or its works for iOS as well ?

  • @olivier1116
    @olivier1116 Před rokem +2

    Hello @JohannesMilke, at 3.43 you show that pages contains their own Scaffold Widget so there are nested Scaffold (One scaffold in the main.dart and the body of this Scaffold holds another Scaffold).
    But in Flutter documentation it is said that
    "The Scaffold is designed to be a top level container for a MaterialApp. This means that adding a Scaffold to each route on a Material app will provide the app with Material's basic visual layout structure.
    It is typically not necessary to nest Scaffolds. For example, in a tabbed UI, where the bottomNavigationBar is a TabBar and the body is a TabBarView, you might be tempted to make each tab bar view a scaffold with a differently titled AppBar. Rather, it would be better to add a listener to the TabController that updates the AppBar"
    source : api.flutter.dev/flutter/material/Scaffold-class.html
    So why do you use nested Scaffolds here?

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank you, olivier delmas! 🙂. I didn't understand your question properly. However, if you want to know about why there is nested scaffold just remove the scaffold widget, run the app. You will know the difference.

  • @MarkyMarking
    @MarkyMarking Před 2 lety

    Is it persistent?

  • @crazycat6569
    @crazycat6569 Před 2 měsíci

    Thank you. Please, can you provide information on how you handle Back button with this navigation bar ?

    • @HeyFlutter
      @HeyFlutter  Před 2 měsíci +1

      Thank You @crazycat6569! Follow this link: stackoverflow.com/questions/70141793/how-to-handle-flutter-bottom-navigation-bar-when-back-button-is-pressed-to-go-to
      I hope you will get your answer 🙂

    • @crazycat6569
      @crazycat6569 Před 2 měsíci

      @@HeyFlutter Thank you. So there is no way to do it without PopScope. 😭

  • @learnwithsajjat
    @learnwithsajjat Před 2 lety

    How much money your all course in 1 year

  • @aborayan
    @aborayan Před 2 lety

    and label text color and size how can change it ?

    • @HeyFlutter
      @HeyFlutter  Před 2 lety

      Thank You أبو ريان - Abo Rayan - تعلم اللغة الاسبانية مع! Follow this link: stackoverflow.com/questions/71049836/label-text-color-is-not-changing-in-bottom-navigation-bar-widget-in-scaffold-fl
      I hope you will get your answer 🙂

  • @user-bx8uh4gl6s
    @user-bx8uh4gl6s Před 2 lety

    Sir, why the source code compile occurred error? The method 'NavigationBarTheme' isn't defined for the class, The method 'NavigationBarThemeData' isn't defined for the class, The method 'NavigationBar' isn't defined for the class, The method 'NavigationDestination' isn't defined for the class, I must change the sdk to channel mater to fix these error?

  • @tripsam4655
    @tripsam4655 Před 2 lety

    Is there a way to put an empty placeholder item under FAB to adjust bottom navbar spacing between items to include FAB?

    • @tripsam4655
      @tripsam4655 Před 2 lety

      @@HeyFlutter Yes. I actually wanted to put a floating action button on the bottom navbar. I have docked it in the center. But the spacing between other tabs in bottom navbar obviously isn't adjust for the floating button. This makes the button look a bit awkward on the tab. Is there a way to pass an empty tab in the middle so that floating button can take its place?

  • @mdshahidali3132
    @mdshahidali3132 Před 2 lety

    Sir please create a video on Develop own package and plugin in flutter

  • @Er.MeetPatel
    @Er.MeetPatel Před 2 lety +1

    How Jump Between Pages Programmatically In Navigation Bar

  • @rangasamyeswaran8440
    @rangasamyeswaran8440 Před 2 lety

    hi Johannes Milke. In column I was given lot of information by ListView it's scrollable but the issue is when i am going to take a screenshot that screenshot is not scrollable. Do you have any idea about that

    • @rangasamyeswaran8440
      @rangasamyeswaran8440 Před 2 lety

      @@HeyFlutter in android mobile we can take long screenshot. Which means one long page we can take in one screenshot. That's why I am asking. In android 10 itself that option will available.

  • @ilyadreamix
    @ilyadreamix Před 2 lety

    how to make system navbar with app navbar container color? i don't want it to be just black

    • @HeyFlutter
      @HeyFlutter  Před 2 lety

      Thank You IlyaDreamix! Follow this link: stackoverflow.com/questions/51012360/flutter-system-navigation-bar-and-status-bar-color
      I hope you will get your answer 🙂

  • @stellarrelax.3495
    @stellarrelax.3495 Před 2 lety

    TBH I haven't found more videos on flutter in any other channel. This really helps. You're doing great. Keep up the good work Mike.

  • @ranjanadeore2957
    @ranjanadeore2957 Před 2 lety

    Everything is temporary morning with your video is permanent

  • @alihussainabro7694
    @alihussainabro7694 Před 2 lety +1

    johannes Milke Thanks

    • @HeyFlutter
      @HeyFlutter  Před 2 lety +1

      Thanks, also Ali Hussain Abro! 🙂

  • @abdulmalikmuhammad6981

    hey Johannes,
    How can I keep the navigation bar when I navigate from mail page to another page

  • @tranthanhtra1312
    @tranthanhtra1312 Před 8 měsíci

    ohh thank you

    • @HeyFlutter
      @HeyFlutter  Před 8 měsíci

      You are welcome, @tranthanhtra1312 😊

  • @hackerwhite7957
    @hackerwhite7957 Před 11 měsíci

    and what how we do style for unselected lable

    • @HeyFlutter
      @HeyFlutter  Před 11 měsíci

      Hey 😊, @hackerwhite7957! Check out this solution: stackoverflow.com/a/73493268

  • @capybaracode
    @capybaracode Před rokem

    is it possible to make navbar disappear on certain page with this method?

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Hey, @capybaracode 🙂 this support is provided in material you design, if your app supports material you, you can definitely use it

  • @barronsa1317
    @barronsa1317 Před 2 lety

    How can we dm you man

  • @syedhannan546
    @syedhannan546 Před rokem

    Hi can i call api for all the 4 tabs at once itself even before clicking on the tabs? since it will make the user wait for loading data

    • @HeyFlutter
      @HeyFlutter  Před rokem +1

      Thank You Syed Abdul Hannan! Follow this link: stackoverflow.com/questions/67959307/how-to-passing-data-api-with-bottom-navigation-bar-on-flutter
      I hope you will get your answer 🙂

    • @syedhannan546
      @syedhannan546 Před rokem

      @@HeyFlutter thanks for the reply😊

  • @rakibulhasanjoy7158
    @rakibulhasanjoy7158 Před 2 měsíci

    If in profile view, there is a button, and navigate another page, then how can I show bottom navigation bar?

    • @HeyFlutter
      @HeyFlutter  Před 2 měsíci

      Thank You @rakibulhasanjoy7158! Follow this link: pub.dev/packages/persistent_bottom_nav_bar
      I hope you will get your answer 🙂

  • @src.obaida
    @src.obaida Před rokem

    does it works also with google Nav bar ?

  • @darkhorrormystery7000
    @darkhorrormystery7000 Před 8 měsíci

    Brother, I am working on a Flutter Android application. And I have added a side navigation bar on that application. Which includes Rate Us, Share App, Privacy Policy, Exit. But I tried many things but could not bring these buttons to working condition, can you tell me? How can I bring them into working condition?

    • @HeyFlutter
      @HeyFlutter  Před 8 měsíci

      Thanks for the idea @darkhorrormystery7000 😀, i have added it in my list of future videos

  • @abdallahhossam2175
    @abdallahhossam2175 Před 2 lety

    when i try to change the color of label by writing label:Text("mail",style: TextStyle(color:Colors.red)), it tells me that A value of type 'Text' can't be assigned to a parameter of type 'String'

    • @ugwutakingsley1671
      @ugwutakingsley1671 Před 6 měsíci

      Were you able find a way out with this? I am currently facing this and would appreciate if you can share a solution

  • @mrunalvala4317
    @mrunalvala4317 Před rokem

    Can we hide this navigation bar with scroll down?

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank You Mrunal Vala! Follow this link: stackoverflow.com/questions/50353640/hide-bottom-navigation-bar-on-scroll-in-flutter
      I hope you will get your answer 🙂

  • @abdoudouba2889
    @abdoudouba2889 Před 2 lety

    Navigation Bar it doesn't work for
    flutter : 2.5.1

  • @OM-nx4pp
    @OM-nx4pp Před rokem

    you request web is not working

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thank you, OM! 🙂. Try to paste the error message with your question whenever you face any issue or error.

  • @Baiai2899
    @Baiai2899 Před 10 měsíci

    I can't move pages, help me

    • @HeyFlutter
      @HeyFlutter  Před 10 měsíci

      Thank You @mohamadalmubarok9928! Follow this link: developer.school/snippets/flutter/material-you-navigation-bar
      I hope you will get your answer 🙂

    • @Baiai2899
      @Baiai2899 Před 10 měsíci

      @@HeyFlutter Thank you this works after using flutter channel master

  • @md.ruhulamin7963
    @md.ruhulamin7963 Před 2 lety

    Sir, please improve the video quality, it show only 360p available.

    • @md.ruhulamin7963
      @md.ruhulamin7963 Před 2 lety

      😀😀 ok sir, its a long time that my morning starts by seeing your videos. You are so great full.

  • @BB-fg9ed
    @BB-fg9ed Před 2 lety

    Day_2 of asking for a simple everyday reminder with local push notification. And also saving the reminder even if app closes

  • @OICG
    @OICG Před 2 lety +2

    Where is material you ?

    • @OICG
      @OICG Před 2 lety

      Got it in your pinned comment 👍

    • @ahmed_alharthi
      @ahmed_alharthi Před 2 lety

      ​@@HeyFlutter Thanks, when it is going to be stable?

  • @nix_malone
    @nix_malone Před rokem

    We must give our email address so that you can annoy us with adds because you can't just email us the source code.

    • @HeyFlutter
      @HeyFlutter  Před rokem

      Thanks, NiXØ! 🙂 Learn more about it here: github.com/JohannesMilke/sponsorware#2-why-didnt-i-get-an-email-even-if-i-have-sent-already-a-request-on-your-website

  • @MegaOsama99
    @MegaOsama99 Před rokem

    I love you ❤ u r superman 👍

  • @mrsp7693
    @mrsp7693 Před 2 lety

    Hello 👋 your videos very successful Brother. Brother one help flutter App in Text input Google form links show link in app & click link show Google form in App . Please one video make please please

  • @elnacho5648
    @elnacho5648 Před 4 měsíci

    Bad Video. Its not funtionallity!!!! dont waste your time and watch a diffrent video!!!

    • @HeyFlutter
      @HeyFlutter  Před 4 měsíci

      Thank you, @elnacho5648! 🙂. We are sorry for that, but we always learn and try to improve ourselves, your kind suggestion will help in that regard. Let us know what should we improve in our videos? Your suggestion will be highly appreciated.

  • @raghav042
    @raghav042 Před 2 lety

    This is not material you

  • @user-ok3uv1qx2r
    @user-ok3uv1qx2r Před 4 měsíci

    how can I keep BottomNavigationBar on each page because whenever I navigate to some route the BottomNavigationBar disappears.

    • @HeyFlutter
      @HeyFlutter  Před 4 měsíci

      Thank You @user-ok3uv1qx2r! Follow this link: pub.dev/packages/persistent_bottom_nav_bar
      I hope you will get your answer 🙂