another great tutorial, you've not only done a great job teaching but also at production standards coding, THANK YOU SO MUCH
@ResoCoder5 жыл бұрын
Thank YOU for watching!
@docdsmc66395 жыл бұрын
Awesome work! This is exactly what I needed to see. I was having a heck of a time trying to pass dynamic arguments to my pages for the past 2 days. This video not only showed me how to do it, it showed me why my previous efforts failed. Well done!
@Juliapak2 жыл бұрын
I'm having that issue right now!!
@DevGamer195 жыл бұрын
This is indeed the best tutorial for Flutter Routing. Clean code and very good explanation. Thank you!
@golfgolf7161 Жыл бұрын
The best video about navigation on youtube! Can you explain when use push, pushReplacement, pushAndRemoveUntil? GL
@officialismailshah3 жыл бұрын
Man!!!!! You are blessing for flutter developers.... You are playing big rule in flutter community... Keep doing great stuff....
@coding_den3 жыл бұрын
Probably the best explanation of basic routing in Flutter that I've seen 🙌🏼
@bm2ilabs4 жыл бұрын
As usual the first source to see if you are stuck in anything about flutter, i would really like to see all this knowledge in one big product it will be amazing , Thank you for everything
@WESLEYNFSMW3 жыл бұрын
Thanks bro, another sub from Brazil 😁
@johnkaicher20733 жыл бұрын
Thanks... best explanation of onGenerate and Flutter routing on You Tube
@myrtasz10364 жыл бұрын
Thanks, one of the best programming tutorials I've ever seen
@mdmarcaassport4 жыл бұрын
What a voice men.
@monadmantis74724 жыл бұрын
your tutorials are awesome. I have liked this video and subscribed. you are a giant among men!
@tadaspetra5 жыл бұрын
I think it would be important to mention that you would need to create a new "arguments" Object for every class that you want to pass multiple parameters to
@ramioooz5 жыл бұрын
Simple, nice and straightforward. great video pro 👍
@mdmarcaassport4 жыл бұрын
Very good tutorial. In order to be excellent it may explain if the routes approach works on top of push/pop approach. E. G. /index to /second to /index is push and push or push and pop
@allanjuan11495 жыл бұрын
Great tutorial. Clear, informative and straight to the point. Thanks a lot for sharing
@akshaychopra963 жыл бұрын
You are the best! Thanks for making flutter for complex apps so easy :)
@liorpolak13913 жыл бұрын
Outstanding tutorial!
@AdriSinaga5 жыл бұрын
Wow, your explaination so clear. Thank you
@pravinromano87743 жыл бұрын
thank you for the wonderful tutorial on page routes and navigation sir, thank you
@fakejimhalpert4 жыл бұрын
Thank you very much, your tutorial is very great. It will help me a lot for my school project! :)
@AVACLOUDADDA4 жыл бұрын
Great tutorial. It clears my all doubt. Thanks
@mihirmodi19363 жыл бұрын
Excellent explanation. Loved it. Thanks.
@a.d76273 жыл бұрын
Great tutorial! thanks for opening my routes horizons :)
@shivkumar74964 жыл бұрын
Thanks a lot...u explained so well, u saved my time by explaining routing clearly.
@mateenmehmood56752 жыл бұрын
Awesome Content. Incredible
@FilledStacks5 жыл бұрын
Very helpful tutorial. Thanks for the video.
@Vellutia5 жыл бұрын
Oh no.. I miss this tutorial, my project is already like half done :'(
@aravind.a4 жыл бұрын
Really awesome tutorial on flutter navigation 👍🎉🔥
@zaytoons5 жыл бұрын
Thank you so much! Exactly what I was looking for. Keep up the good work! 👍🏻
@bluecodes58814 жыл бұрын
Thanks for such an awesome tutorial!
@johncerpa37824 жыл бұрын
Great video, man. Thank you so much
@murtazavohra3604 жыл бұрын
This is exactly the video I needed Thanks!!
@iced874 жыл бұрын
so, I applied what you did in this video and it works flawlessly; however, I am currently facing an issue with using popUntil
Hi Matej, Thanks for bringing this subject up. It cleared a lot of confusions for us:) One request. Can you make a followup video on how we would pass data back when popping the page or multiple nested pages? And How would we manage a nested Page tree situation where we can go from a->b->c or a->c directly and from c->b->a or c->a directly. Should we do a scenario like this using bloc?
@dimitristotsios22925 жыл бұрын
flutter.dev/docs/cookbook/navigation/returning-data#nope-button see the answers here as a start point.
@Makayasa5 жыл бұрын
Well prepared tutorial, love your teching method
@kennyho62222 жыл бұрын
This is great. thank you!
@Hkp-z9x5 жыл бұрын
Awesome tutorial. You explained it so well.
@shashanksm63273 жыл бұрын
Great videos , keep up the good work :)
@csgokul4 жыл бұрын
Just wow .... Thanks for this awesome tut ...
@the_one_named_harris5 жыл бұрын
Very helpful video! Thanks a lot!
@Adam-xr6fj4 жыл бұрын
How can this technique be used with BottomNavigationBar?
@dewas62375 жыл бұрын
your channel so help me a lot thanks bro!
@brianmartindunn4 жыл бұрын
If I wanted to pass multiple named parameters, is there a way to do that? It sounds like all the parameters would need to get packed into a Map and sent in the "arguments" parameter. It would be nice if the calling widget ("First Page" in your example) could see the list of parameters expected by the second widget ("Second Page" in your example). Is there a trick or technique that can achieve this? BTW, great tutorial! Please keep making them.
@Iamnooralibutt4 жыл бұрын
Map or make a class of arguments
@BartWentink4 жыл бұрын
@@Iamnooralibutt I'm trying to pass a map, but I get an error that I can't use arguments of type in place of int. How would I rectify this?
@syedmuheeb24094 жыл бұрын
Can u show this in future builder which returns list view builder binder with json data when one list tile is tapped it should return the details page of that particular parent item!
@chrisp2675 жыл бұрын
Great stuff! Thanks!
@MubashirAR3 жыл бұрын
For anyone using flutter for web, replace final args = settings.arguments; with final name = settings.name; and switch(args) with switch (name)
@BillyMahmood5 жыл бұрын
Great tutorial, please can you show us how to add route guards?
@jmbartho15 жыл бұрын
Great video thanks!
@riyoua5 жыл бұрын
Great Tutorial ... thanks a lot
@free_intertaining2 жыл бұрын
what about web? suppose i have login and home page i want to check if the user hasn't been logged in show them login page other wise show home page, so every time when i refresh the page it goes to initialRoute no matter what happened before. what should i do?
3 жыл бұрын
great tutorial! one thing though: the error page example is a little artificial, if an argument is of a wrong type, you rather want an early error as it is a bug, the error page would mask this. also a class with a singe static function is still just a function, it doesn’t really matter where you put it.
@BURN-ADDiCT3 жыл бұрын
Guard clause
@aguninghamidou99694 жыл бұрын
very good tutorial
@fixocsolutions26954 жыл бұрын
thanks bro helped a lot
@Ishaahmed16873 жыл бұрын
great tutorial.. Thanks...........
@sephyshen25105 жыл бұрын
very helpful video. thank you RC.
@abdechahidihya53604 жыл бұрын
I love you man.
@vfthome-yt Жыл бұрын
Thank you!
@rasan972 жыл бұрын
Thank you, kind sir.
@thamastersmooth3 жыл бұрын
what if I want to return a list on the second page by button?
@bgizzanm2 жыл бұрын
but, how implement .pushNamed in the attribute onTap from ListTile?
@MrLefteris30002 жыл бұрын
Hello, Great tutorial!!! I am using the first method you explained in your video, the problem is I want to pass a List of names, how would i do that? thanks in advance!!!
@Luca-re3ve3 жыл бұрын
very good tutorial, how should i proceed if i have first page and second in 2 different files?
@adnankazi95725 жыл бұрын
Perfect video just wanted to know how to i use Navigator.popUntil(context,pageRoute) using this method i am getting error
@MrProgrammer1012 жыл бұрын
You can't
@chiragsolanki88643 жыл бұрын
Nice Explanation Brother, One Small question by using this approach how we can get data back from next screen. e.g If I want to get some data in first screen while user come back from next screen.
@FranciscoJunior295 жыл бұрын
Great! Thank you!
@mahmudulhasanfarhan1562 жыл бұрын
Awesome tutorial. But I have one question, If I want to access the second page by typing the URL on the browser (not by clicking on the Button), how to write the route name and pass the arguments?
@eron.amorim4 жыл бұрын
Great tutorial! Just one question... If my add do have 3 or more pages, it'll be '/second/third' or just '/third' ??
@marielxenovia30624 жыл бұрын
Just /third.
@imransefat87703 жыл бұрын
what about multiple types of arguments?
@ThomazMartinez Жыл бұрын
After 4 years is this still best?
@WorstDeveloper5 жыл бұрын
This was really helpful. I will implement it in my application. Is this way still the recommended approach?
@holaahora75273 жыл бұрын
And how can I do to pass multiple data? Or even a custom class that I created? Thanks!
@sanathnherath5 жыл бұрын
very helpful, thanks
@ricksondpenha4 жыл бұрын
Hi can you make a video on navigator 2.0...
@s34n25 жыл бұрын
At 7:34, is "(_) => SecondPage()" the same as just putting "SecondPage()"?
@britannio5 жыл бұрын
No. it's actually an abbreviation for (BuildContext context) => SecondPage() which allows you to use the context to create the page e.g. by using ModalRoute.of(context).settings.arguments
@SarinM3 жыл бұрын
How to pass multiple named parameters through this kind of routing?
@3414145 жыл бұрын
Thank you for this beautiful video training. What'ss about onUnknownRoute?
@rammehar55313 жыл бұрын
Hi, please make a video on Navigator 2.0 with real world example! It will be highly appreciated
@lindermannla5 жыл бұрын
Greate tutorial! Thnxz!
@realsk8ilsh4 жыл бұрын
Is it possible to pass multiple arguments on Second Page ... ?
@davidagyakwa2884 жыл бұрын
does this mean i can use pop and popUnitl routes
@learnwithkhubbaib4 жыл бұрын
how we can pass multiple data, like i want to send matchId.seriesId for same route
@Blackday20105 жыл бұрын
In the code of (RouteGenerator) when define final args= settings.arguments I found that it doesn't have arguments but has only (name, isIntializable), what is wrong?
@Magarovv4 жыл бұрын
What is your extension of theme? please... I thinked so beautiful
@mohamedelyamani78454 жыл бұрын
I put splash screen In init route on main.dart, problem is when I press on back button in any other page it goes to splash screen instead of exit the app Second thing how can I handle routs with bottom navigation bar If I am navigating to other page navbar disappears cause I put it in home page I spent all day trying to figure it out but I can't
@abdimussa89323 жыл бұрын
Did you figure out the answer for the splash screen problem?
@FranzSchwanauer5 жыл бұрын
Thank you for your flutter tutorials. They are helpful. How do you implement popUntil to get to HOME no matter how many routes are on the navigation stack. Please respond with example code.
@bennguyen13134 жыл бұрын
Total rookie here.. what does the (_) mean? For example you used it in the line: "secondPage' : (_) => SecondPage (data: 'abc', )" and "return MaterialPageRoute (builder: (_) => FirstPage() ); " Would any basic Dart book help with this kind of stuff? Also, in the MyApp class' build, are the "initialRoute" and "onGenerateRoute" members always available, even if you don't use routes? For example, I don't see how 'initalRoute' gets passed to onGenerateRoute.. does it act like a global variable? Would the use of Routes/RouteGenerator be an alternative to BlocBuilder / StreamBuilder, or are they commonly used together?
@KittehBit5 жыл бұрын
Love the tutorial and also your font and color scheme for VSCode! Could you share what font and color thing that is? :3
@Malaq48222 жыл бұрын
u found it?
@kiliandanckaerts7029 ай бұрын
the font is Fira Code
@bioscopetales2 жыл бұрын
Thanks buddy
@kubecon4 жыл бұрын
I like your VS Code theme and font. Mind sharing it. 😊
@kiliandanckaerts7029 ай бұрын
the font is Fira Code
@ecarlosbc3 жыл бұрын
Worked perfect for me, but i had to cast the variable args to pass values to the screen: final args = settings.arguments as Map;
@hakeemsalimriz74885 жыл бұрын
Great Tutorial but i have a small challenge, what if i want to change the content inside the scaffold only so that my appbar and bottom nav can remain the same? how can i go about it?
@samuelrajasingh5064 жыл бұрын
pass the context of that widget you need to change