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/passing_data/tree/master

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 https://youtu.be/0IgndUb1YQI

#flutter #transfer #data

How To Pass Data Between Screens (Forward and Backward) - Flutter
1.55 GEEK