I read that setState affect application performance because it rebuilds the widget tree.
Calling
setStatenotifies the framework that the internal state of this object has changed in a way that might impact the user interface in this subtree, which causes the framework to schedule a build for this State object.
Is this an actual concern for application performance?