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

ProviderNotFoundException #5

Open
CshitizDhingra opened this issue Mar 25, 2021 · 0 comments
Open

ProviderNotFoundException #5

CshitizDhingra opened this issue Mar 25, 2021 · 0 comments

Comments

@CshitizDhingra
Copy link

CshitizDhingra commented Mar 25, 2021

SIGNOUT only works for one time. When I signout and login again and then signout , following error is obtained :

The following ProviderNotFoundException was thrown while handling a gesture:
Error: Could not find the correct Provider<UserRepository> above this UserInfoPage Widget
To fix, please:

  * Ensure the Provider<UserRepository> is an ancestor to this UserInfoPage Widget
  * Provide types to Provider<UserRepository>
  * Provide types to Consumer<UserRepository>
  * Provide types to Provider.of<UserRepository>()
  * Always use package imports. Ex: `import 'package:my_app/my_code.dart';
  * Ensure the correct `context` is being used.

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