[노마드코더: Flutter 로 웹툰 앱 만들기] #4.1 setState
한 가지를 잊었는데 모든 것이 적용되게 하기 위해서는 setState funcion을 적용해야 한다. state class에게 데이터가 바뀐다는 것을 알리기 위해서 사용해야 한다. setState our state hey man the data is new so react do something react yourself void onClicked() { setState(() { counter = counter + 1; }); } 즉 setState() 안에 담지 않으면, when you call setState, telling flutter, data is new build method again :0 calling this method once more with the new data. 그리고 함수를..