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:
Screen Shot 2021-10-30 at 11.48.07 AM
Screen Shot 2021-10-30 at 11.48.45 AM
Screen Shot 2021-10-30 at 11.49.41 AM
Screen Shot 2021-10-30 at 11.50.24 AM

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.