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

Published: 31 May 2021
on channel: Flutter Mentor
15,642
228

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...  


On this page of the site you can watch the video online Flutter - How To Pass Data Between Screens (Forward and Backward) with a duration of hours minute second in good quality, which was uploaded by the user Flutter Mentor 31 May 2021, share the link with friends and acquaintances, this video has already been watched 15,642 times on youtube and it was liked by 228 viewers. Enjoy your viewing!