Summary. 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 .
Summary. 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 .