Passing Data to a State Object

 

[Ko]

 - location_screen constructor 설정하고 locationWeather loading_screen MaterialPageRoute로부터 전달받도록 .

 - stateful widget parent stateful widget child state widget으로 나누어지며, 외부로부터 데이터를 받을 때는 parent stateful widget constructor property 이용해서 받음. Child state widget에서 parent stateful widget property 접근하기 위해서는 widget 이용하며, widget parent stateful widget 나타냄. Stateful widget에서 widget parent child 연결하는 다리 역할을 .

 

[En]

 - Set constructor on location_screen and get locationWeather from MaterialPageRoute of loading_screen.
 - The stateful widget is divided into a parent stateful widget and a child state widget. When receiving data from the outside, it is received using the properties of the parent stateful widget constructor. The widget is used to access the properties of the parent stateful widget from the Child state widget, and the widget represents the parent stateful widget. In stateful widgets, widgets serve as a bridge between parent and child.

+ Recent posts