Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app runs but i get this in the debug window! #1

Closed
ernestsheldon opened this issue Nov 17, 2019 · 0 comments
Closed

app runs but i get this in the debug window! #1

ernestsheldon opened this issue Nov 17, 2019 · 0 comments

Comments

@ernestsheldon
Copy link

this is of branch lesson 21
`
════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building BrewList(dirty, dependencies: [InheritedProvider<List>], state: _BrewListState#f51fb):
The getter 'length' was called on null.
Receiver: null
Tried calling: length

User-created ancestor of the error-causing widget was:
Scaffold file:///home/ndragonx/flutterprojectsvscode/grub_retriever/grub_retriever/lib/screens/home/home.dart:26:14
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1 _BrewListState.build (package:grub_retriever/screens/home/brew_list.dart:17:24)
#2 StatefulElement.build (package:flutter/src/widgets/framework.dart:4047:27)
#3 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3941:15)
#4 Element.rebuild (package:flutter/src/widgets/framework.dart:3738:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant