Nitish Kumar Singh
1 min readJul 13, 2020

I'm glad that you liked it.

As you said you are new to Flutter. I will suggest you simple solution. Suppose you have two screen where you are asking for data from user.

Screen 1: Name of User.

Screen 2: Email of User.

Screen 3: User Profile shwoing their name and email

Solution: When you will navigate from Screen 1 to Screen 2, you should passs the name to screen 2. So, In screen 2 you have name from previous screen. In Screen 2 you will get email of user. Pass the name and email from screen 2 to Screen 2.

How to pass data from one screen to other screen. There are two ways of doing this.

1. Constructor

2. Arguments

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Nitish Kumar Singh
Nitish Kumar Singh

Written by Nitish Kumar Singh

Web🌐/ Mobile📱/ GraphQL / Cloud☁️ . Full-time programmer, part-time content creator, and Freelancer.

No responses yet

Write a response