Flutter lookup failed in @fields error (solved)

Did you get a red screen error with the description lookup failed in @fields somefile.dart? Here’s how to solve it.

This error happens if you have recently added any properties to a widget and try to render the widget with a hot reload.

It is probably because Flutter’s Hot Reload did not refresh the code properly. Just do a full restart by pressing Ctrl + Shift + F5 or by clicking on the restart button in VScode. The issue should be gone now!

Ranjith kumar
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments