Chapter 6 adding items not working

I guys i need help ! when i click on save button, it always return the Empty screen. It seems, groceryItems is alsways empty even i save an item.

grocery_screen.dart - fooder - Visual Studio Code 04_04_2022 15_51_18

I hope you were able to resolve the issue and continued learning more about Flutter :mechanical_arm:

If not…
On your code screenshot, line 22, a method call manager.addItem(item); is commented out. Move it to a new line.

1 Like