Flutter Tutorial - 2/2 Navigation & Named Routes

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2020
  • Master how to navigate between pages in Flutter with named routes which can be used especially for more complex applications.
    Click here to Subscribe to Johannes Milke: ruclips.net/user/JohannesMilke...
    - Source Code: github.com/JohannesMilke/navi...
    - Buy My Courses: johannesmilke.teachable.com/p...
    - Follow Twitter: intent/follow?ori...
    Resources:
    1. Part Navigation: • Flutter Tutorial - 1/2...
    Sidekick Screen Animation Tutorial: • Flutter Tutorial - Sid...
    Sliding Up Panel Tutorial: • Flutter Tutorial - Sli...
    1. Part Bottom Sheet Tutorial: • Flutter Tutorial - Bot...
    2. Part Bottom Sheet Tutorial: • Flutter Tutorial - Mod...
    -- JOIN THE CREW --
    bit.ly/JohannesMilke
    SHARE | SUBSCRIBE | LIKE FOR MORE VIDEOS LIKE THIS
    *********
    SOCIAL MEDIA: Follow Me :-)
    - Twitter: intent/follow?ori...
    - Linkedin: / johannesmilke
    - Github: github.com/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...
    If you find this video useful, LIKE & SHARE this video to help other people who also learn Flutter :)
    bit.ly/JohannesMilke
    CREDITS
    Copyright song "Corporate Technology" by scottholmesmusic.com
    #Flutter #Tutorial #JohannesMilke
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
  • НаукаНаука

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

  • @amadzarak7746
    @amadzarak7746 7 месяцев назад

    Thank you. From my understanding named routes are not considered to be a best practice for Flutter in 2023, but I am working on an application that was developed a few years ago, and this information was invaluable for understanding what the original developer was doing

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

      Thank you, @amadzarak7746! 🙂

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

    Very informative and helpful!

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

    Thank you so much for all your wonderful videos , thank you sir
    I learnt so much from your videos

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

    Great tutorial!!

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

    Amazing man! why you use async and await in the first navigation function? it's necessari for the navigation?

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

    Thanks

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

    Thanks Johannes, please update this video

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

    Nice, Is this example actual now in 2022?

  • @mr-rbk
    @mr-rbk 2 года назад

    What is the purpose of pushNamedAndRemoveUntil?

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

    Hello Mr. Milke, I'm using this method for navigation in my application, but I'm running into an issue with Navigator.popUntil(). Is it possible to use Navigator.popUntil with this method of navigation? I'm specifically calling Navigator.popUntil(context, ModalRoute.withName(AppRoutes.home)), as an example.

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

      Thank you, Alex Boyd! 🙂. Kindly share the error message here.

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

      PS, Love your videos! They're great. I am a supporter on your git as well. It's worth it!

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

      ​@@HeyFlutter Interesting; I had posted a reply, but I think RUclips didn't like the link. There is no error message, the application simply pops to a black screen. I think what's happening is I have an app with screens A and B. When I start the app, I am on screen A. I then navigate to screen B. When I push the back button, I have it coded to do Navigator.popUntil(context, ModalRoute.withName(AppRoutes.home)), where home would be screen A. This causes it to go to a black screen. I know I could just use pop, but I have other screens that are deeper than this one that I'd like to be able to use something like popUntil on. Is it a viable solution when using this navigation paradigm? Lemme try the link again stackoverflow . c o m / questions/ 65552903/ navigator-popuntil-flutter-show-black-screen

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

    Complicated