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

setState is a way to dynamically change the UI. We call it inside the State Object class of the StatefulWidget. Calling setState marks the corresponding Widget dirty .20 Haz 2021

Sizin İçin Seçtik  Is 50 too old to learn Python?

Leave a Reply

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