So the builder is properly rebuilt on changing the future if you trigger the change with setState. The problem is, the hasData and hasError aren’t reset until the response is back. But we can use connectionState instead. You can refresh the widget by clicking on FlatButton .2 May 2021
Read moreHow does Hot reload work in flutter?
Hot reload works by injecting updated source code files into the running Dart Virtual Machine (VM) . After the VM updates classes with the new versions of fields and functions, the Flutter framework automatically rebuilds the widget tree, allowing you to quickly view the effects of your changes.
Read more