Flutter GoRouter Tutorial - Easy Navigation Tutorial using GoRouter
HTML-код
- Опубликовано: 19 окт 2024
- 💼 Book a meeting: cutt.ly/Pegxp5rA
💎 Ultimate Flutter UI Kit: cutt.ly/3w6tqwFA
This video will teach you everything you need to know about navigation in Flutter using the Go Router package. We will learn how to setup Go Router, configure declarative routes, attach go router to our material app, and navigate to different pages/screens within our Application using Go Router. We will also take a look at working with go and push function available on Go Router and how to pass path parameters, query parameters and extra parameters to a route using Go Router. Furthermore, you will get a thorough understanding of the capabilities of Flutter Go_Router package and how to use it to its maximum potential. This is an excellent guide for beginner Flutter developers, or anyone looking to learn about Go Router based navigation for their Flutter applications.
Resources:
Source Code: cutt.ly/9w0tqRqW
Go Router: pub.dev/packag...
Modular UI: pub.dev/packag...
Socials:
Website: hussainmustafa...
Github: github.com/hus...
LinkedIn: / hussain-mustafa-960920184
Twitter: / hussain34274892
Buy Me A Coffee: www.buymeacoff...
#flutter #learnflutter #fluttercourse #fluttertutorialforbeginners
Btw great explanation!!!
Please make a playlist on complete Projects using Flutter 🙏🏻
Hi,
I will keep your suggestion in mind and implement it.
Amazing, does this have any advantages over using onpressed function?
Well explained... Thanks Hussain Mustafa🥰💖
Thank you very much 😊
Amazing explanation. Please go into more details in the next video and cover everything else like params, qyeryparams, deeplinks etc.
Thanks will do.
Great tutorial. Very much appreciated. Thank you!
You’re welcome ☺️
What's smipped extension do yu use?
Well explained, is it best approach to manage the navigation using goRouter for big scale applications? Or is there any other better approach for managing navigation of bigger application?
I think go router is the best routing package available for flutter in my opinion.
Great video. Thank you.
You are welcome!
Can you make a video on implementing bottom nav bar using go_router. Like what should we do if we don't want to hide nav bar in nested child sub routes
Hi,
That is not what Go_Router is built for. The navigation logic for bottom nav bar is completely different than navigating from one page to another.
@@m_hussain_mustafa we can implement the bottom navigation logic with stateful shell route that is available in go_router package
@@BilawalMehfooz If that is the case then thanks for letting me know. I’ll take a look at it and try to create a tutorial on that. Thanks for letting me know appreciate it. :)
how can i get a callback when a page is closed? e.g. handle a refresh
Right to the point 👍👍👍
Thank you. :)
Thanks 🙏🙏
You’re welcome 😊
thank you🙏🏻🙏🏻🙏🏻 Very helpful video!
You’re welcome
Please create a video on Bluetooth scaning and connection with devices to transfer data....
nice explanation
Thanks and welcome
Hey, can you explain what is a difference between "extra" and "pathParameters" and when to use which?
I believe if you can achieve the intended functionality of passing data to your route using pathParameters then just use them. A good use case for extra would be if you'd like to pass a certain instance of a class to your route, since this cant be done using pathParameters using extra in this case would be a good decision. Hope this helps. :)
ionic Hybrid is best, instead of Flutter or RN.
Top! 🚀🚀🚀
Thanks. :)
Awesome one
Thank you. 🙏
Thank you Sir😶🌫
You’re welcome 😇
When I trigger hot reload my app will navigate back to starting screen. can you please help me to fix it
Do you mean when you restart the app? Or do you actually mean just hot reload. When you restart the app all state is lost so it will show the initial route
@@m_hussain_mustafa nope I'm talking about hot reloads
@@m_hussain_mustafa I am actually facing the similar issue, when I hot reload the app, it starts from the begining. Not restart, i am talking about hot reload functionality.
Good explanation but bit of rush
Thanks Noted! Will try to keep this in mind for future videos.
@@m_hussain_mustafa in my opinion pace was just perfect!
Thanks 🙏