I usede pushNamed with arguments but when i try to catch arguments on other page it fire error because it always returns null as a result of ModalRoute.of(context)!.settings.arguments as Map. So do you have some idea how to solve this. And btw arguments variable on first page have correct value (variable that i passed in pushNamed arguments are not empty). (Error: _CastError (type 'Null' is not a subtype of type 'Map' in type cast).
Thanks a bunch helped a lot. Is it possible to pass values from different screen of the dart app, say screen1 and screen2, to a named route using the pushNamed argument. I don't want to create a new custom class. For instance, I want to pass id from screen1 and jobData from screen2 to a new screen. Thanks in advance
Hey! I tried to use this method in order to transfer multiple numeric data from one screen to another,but I was able to view only one value and not all the values. How to transfer multiple numeric data (only numbers) from one screen to another screen? Does 'List' play role here? Please help me!
you are the best!! i tried every tutorial but your tutorial was like very easy to follow
Glad I could help!
Hey there, I tried many methods to pass data from one screen to another, it helped me a lot... thank you so much...
Glad it helped! Thank you for watching
Very informative , thanks a lot for this tutorial.
Glad it was helpful!
Hello. What if user goes back by pressing "back" on the navbar or in appbar and not the "go back" button? I need the data to also be sent then.
extraordinary, very well explained!!! thank you!
I usede pushNamed with arguments but when i try to catch arguments on other page it fire error because it always returns null as a result of ModalRoute.of(context)!.settings.arguments as Map. So do you have some idea how to solve this. And btw arguments variable on first page have correct value (variable that i passed in pushNamed arguments are not empty). (Error: _CastError (type 'Null' is not a subtype of type 'Map' in type cast).
Thanks a bunch helped a lot. Is it possible to pass values from different screen of the dart app, say screen1 and screen2, to a named route using the pushNamed argument. I don't want to create a new custom class. For instance, I want to pass id from screen1 and jobData from screen2 to a new screen.
Thanks in advance
Very nice video thank you bro
thank you for watching!
Thanks a lot for this video. Helped me a lot.
What is the extension you're using that displays tree-like lines at the left of your code ?
You are my mentor.
Please make a video that pass data from textfield to datatable and convert the total data from the table to listview.
Thanks.
Hi Dagel, what do you mean specifically by datatable? Can you give me an example?
i did pushnamed with argument it give me error 'type null is not a subtype of type map in type cast ' , what can i do now?
can you paste the exact error? It's strange that one of the types is null. Is the variable type defined?
Hey! I tried to use this method in order to transfer multiple numeric data from one screen to another,but I was able to view only one value and not all the values.
How to transfer multiple numeric data (only numbers) from one screen to another screen? Does 'List' play role here? Please help me!
Hmm, I need more info. But I believe that yeah, you should try to do it in a list format. Let me know if it doesn't work
how to send data to another screen withaout change screen?
Search on YT for "State management" or "Provider package". I don't have any videos on it but there's lots of videos about it
You could mention widget.variable if passing arguments directly.. I was so confused .. BTW Thanks a lot.. I was stuck in this for days....
Sorry for the confusion! Thanks for watching
@@FlutterMentor Hey man.. That's alright
It shows that parameter is not defined when I put name: name.
Strange... Have you tried downloading the project from GitHub and comparing the code?