You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I received the following error in the debug console when clicking "logout". Note: the error might only appear using the latest packages.
flutter: 'package:provider/src/provider.dart': Failed assertion: line 202 pos 7: 'context.owner.debugBuilding || listen == false || debugIsInInheritedProviderUpdate': Tried to listen to a value exposed with provider, from outside of the widget tree.
This is likely caused by an event handler (like a button's onPressed) that calledProvider.of without passing `listen: false`.To fix, write:Provider.of<AuthBase>(context, listen: false);It is unsupported because may pointlessly rebuild the widget associated to theevent handler, when the widget tree doesn't care about the value.
The context used was: AccountPage(dependencies: [_LocalizationsScope-[GlobalKey#7b2b3], _InheritedProviderScope<User>, _InheritedCupertinoTheme])
The text was updated successfully, but these errors were encountered:
I received the following error in the debug console when clicking "logout". Note: the error might only appear using the latest packages.
The text was updated successfully, but these errors were encountered: