FutureBuilder, SetState: Variable Not Updating When Deleting setState

You don’t need setState while you are using FutureBuilder.

You may move the Future builder to the root of your widget tree (the part of the tree that depends on the data from that future)

Then replace the value passed through the variable isWaiting with the state of the snapshot.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top