Passing Data Between Screens in Flutter | Flutter Pass Data from One Page to Another

Описание к видео Passing Data Between Screens in Flutter | Flutter Pass Data from One Page to Another

In this video we will learn how to pass data between screens of a flutter app.
We pass data by using route RouteSettings and widget constructor paramete and also recieve data from Navigator.pop(context, data) back to the previous screen.
We create first screen widget and on that screen we make three buttons. First button will use parameters of the second screen to pass data to the second screen.
Scond button will use MaterailPageRoute RouteSettings to pass data to the third screen.
We will display data to the third screen.
Third Raised button will pop a dialog box on the screen and we enter text to that text fields and that data will display back to the first screen. We use Navigator for the routing of the app.
If you have any question. Please write in the comments!
#PassingDataBetweenScreens #Flutter #HussainHumdani

Комментарии

Информация по комментариям в разработке