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.

Leave a Reply

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