Grocery_item_screen proble

hello I’m having a problem in the grocery_item_screen file in build method where the widgent.originalItem gives me a compile error:

these the views of the error, one of images show where I had to use a “1” to get the file to compile without any errors., I have compared my file against the final file and I cant find my error.

I’m showing both vs-code and android studio code screens

This topic was automatically closed after 166 days. New replies are no longer allowed.