In 6.9, there is this code: final originalItem = widget.originalItem;
.
Why is it that instead of final originalItem = GroceryItemScreen.originalItem;
?
Doing it the latter way gives an error Instance member 'originalItem' can't be accessed using static access
but I don’t understand why.