Ever wanted to know how to pass data across different pages on your Flutter app? Well, this video shows you exactly how.
In this video, I go over how to do it with both the regular Navigator.push method as well as with named routes (Navigator.pushNamed).
And I don't just show how to pass over simple data like ints and Strings, but I also show how to pass Map type data.
These aren't all of the methods and if you have others ways to achieve this feel free to share!
GitHub Project Repository: https://github.com/FlutterMentor/pass...
00:00 - Intro
00:30 - UI Code Overview
01:30 - Passing Data With Navigator.push
02:15 - Passing Data Backwards with Navigator.pop
04:27 - Passing Data With Named Routes (Navigator.pushNamed)
06:50 - Passing Data Back But Sending Info With Named Route
08:30 - Like & Subscribe
08:46 - Flutter Mentor Out
#flutter #data #transfer
Credits:
OUTRO SONG:
Mitsubachi by Smith The Mister https://smiththemister.bandcamp.com
Smith The Mister https://bit.ly/Smith-The-Mister-YT
Free Download / Stream: http://bit.ly/mitsubachi
Music promoted by Audio Library • Mitsubachi – Smith The Mister (No Copyrigh...
Auf dieser Seite können Sie das Online-Video Flutter - How To Pass Data Between Screens (Forward and Backward) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Flutter Mentor 31 Mai 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 15,642 Mal angesehen und es wurde von 228 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!