Does setState rebuild widget?

When setState() is called on a State, all descendent widgets rebuild . Therefore, localize the setState() call to the part of the subtree whose UI actually needs to change.

Sizin İçin Seçtik  Which method is called to Rerender the widget tree once state is changed?

Leave a Reply

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