In Chapter 2 towards the end, " Showing the ingredients", I copy/pasted the Expanded code but got this error message rendered in the recipe detail view:
type 'Null' is not a subtype of type 'List<Ingredient>' of 'function result'
Thought that maybe the spaghetti ingredient was causing the issue, but even after adding a measurement, still getting the error.
Ingredient(4, '', 'Frozen Meatballs',),
Changed to
Ingredient(4, 'item', 'Frozen Meatballs',),
I have zero Flutter/Dart experience and no idea where to start looking for this error. Android Studio is not showing any errors. Help appreciated, thanks in advance.