setState() callback argument returned a Future

Troubleshooting

Hey Community,

Im receiving this error message now on my count controller component but I havent even changed a thing.

Im showing the items from a basket and generate the quantity controller dynamically as component. When the user changes the qty the first time, I get the attached execption. This has been working very well since today when I always receive the error and the application crashes on a real device. On simulator its working, only throwing the exception.

The cart list itself is within a component I open when the user clicks on the cart icon.

Can someone help me out here?

What have you tried so far?

Rebuilding the component from scratch.

Did you check FlutterFlow's Documentation for this topic?
Yes
2