Type 'Null' is not a subtype of type 'List<Ingredient>' of 'function result'

@alhajimsabu or anyone having issues when developing with flutter.

For myself I find this approach to be helpful and encourage everyone to remember and try it:

  • Hot reload or hot restart
  • Kill the app and rebuild
  • Set breakpoints to debug and understand why it’s null
  • Pulling up Flutter DevTools to help analyze the properties in the widget tree
1 Like