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

Using BlocProvider with stateful widget throws following error , how should I use it with Statefule widget? Or is there any alternate solution? #1

Open
dharmitaepaisa opened this issue Jul 4, 2019 · 0 comments

Comments

@dharmitaepaisa
Copy link

I/flutter (10824): The following NoSuchMethodError was thrown building Provider:
I/flutter (10824): The method 'inheritFromWidgetOfExactType' was called on null.
I/flutter (10824): Receiver: null
I/flutter (10824): Tried calling: inheritFromWidgetOfExactType(Provider)
I/flutter (10824):
I/flutter (10824): When the exception was thrown, this was the stack:

@dharmitaepaisa dharmitaepaisa changed the title Using BlocProvider with stateful widget throws following error , how should I use it with Statefule widget? Using BlocProvider with stateful widget throws following error , how should I use it with Statefule widget? Or is there any alternate solution? Jul 4, 2019
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