# Managing State in Flutter, Episode 4: Use Set State | raywenderlich.com

**URL:** <https://forums.kodeco.com/t/managing-state-in-flutter-episode-4-use-set-state-raywenderlich-com/178920>\
**Category:** 🎓 Courses & Articles\
**Created:** [September 25, 2022, 10:38pm UTC](https://forums.kodeco.com/t/managing-state-in-flutter-episode-4-use-set-state-raywenderlich-com/178920 "2022-09-25T22:38:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vegetarianzombie](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/vegetarianzombie/32/94022_2.png) [@vegetarianzombie](https://forums.kodeco.com/u/vegetarianzombie)\
**Post date:** [September 25, 2022, 10:38pm UTC](https://forums.kodeco.com/t/managing-state-in-flutter-episode-4-use-set-state-raywenderlich-com/178920/1 "2022-09-25T22:38:03Z")

</div>

setState() is the primary method used to update set, but you’ll quickly learn that while setState will update the widget tree, it may do it in away that you don’t quite expect.

* * *
This is a companion discussion topic for the original entry at [https://www.raywenderlich.com/34552040-managing-state-in-flutter/lessons/4](https://www.raywenderlich.com/34552040-managing-state-in-flutter/lessons/4)
