r/FlutterFlow • u/Busy-Math-1619 • 16d ago
I created this app in flutter flow but now facing this error in test mode. Kindly if anyone know the solution share in comment section. My whole hardwork struggle stuck.
1
Upvotes
2
u/bramantec 15d ago
Given that I only have a photo to go on and it’s not very clear I’m essentially making an educated guess. That said, the red box labeled "Unexpected null value" usually indicates that a widget is trying to read a field that happens to be null at that moment. Based on what I can discern from the image, the issue lies below the list: it’s the widget that follows "Recent expenses," not the list itself. Try these three checks:
Textor other widget linked to those fields; this way an empty field won’t cause the entire page to crash.1
u/Desperate_Fishing265 15d ago
Simply put - something in that box is referring to a variable which is not having any value from the backend - so resolve the issue from backend first. Check the results from API call, or collection etc. manually first.