llighter / yunha-ind

YUNHA INDUSTRY website
https://llighter.github.io
MIT License
1 stars 0 forks source link

content: FutureBuilder 제대로 사용하기 #67

Open llighter opened 4 years ago

llighter commented 4 years ago

Author: @llighter

Target publish date:

Process

Check out the web.dev writing process.

When you're ready, make a copy of this template and fill in the proposal and outline sections. When you're finished, drop a link to the doc in the 1st step below and check the box. A member of the web.dev team will assign this ticket to themselves and work as your reviewer to help you complete the remaining steps.

FutureBuilder를 제대로 사용하는 방법 FutuerBuilder가 계속해서 리빌딩 되는 것을 막기 위해 initState에서 future 초기값을 정하고 그 future변수를 FutureBuilder에 넣어야 한다.