Does setState rebuild the entire widget tree?

If you call setState() on WidgetB it’ll rebuild itself and it’s descendants, no matter if they are Stateless or Stateful Widgets.

Sizin İçin Seçtik  Why do you need to call setState (() }) in a stateful widget when changing some internal data )?

Leave a Reply

Your email address will not be published. Required fields are marked *