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
All of a sudden I get this error pointing to a location in the package. I am not able to figure out the root cause so far.
======== Exception caught by widgets library =======================================================
The following assertion was thrown building Mutation<Object?>(dirty):
'package:graphql_flutter/src/widgets/graphql_provider.dart': Failed assertion: line 58 pos 12: 'provider != null': is not true.
Here is the function it is pointing to in the package -
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I had the below widget working perfectly fine when I had the OutlinedButton.icon widget in place of the CreateUserMutation widget.
Then I thought of cleaning the code a bit and moved the OutlinedButton.icon as below -
All of a sudden I get this error pointing to a location in the package. I am not able to figure out the root cause so far.
======== Exception caught by widgets library =======================================================
The following assertion was thrown building Mutation<Object?>(dirty):
'package:graphql_flutter/src/widgets/graphql_provider.dart': Failed assertion: line 58 pos 12: 'provider != null': is not true.
Here is the function it is pointing to in the package -
Beta Was this translation helpful? Give feedback.
All reactions