( Because provider depends on provider, version solving failed )
When I Try To Install Provider I am facing this problem
And I have last version to flutter and last version to dart
when I run flutter pub add provider I am facing Because provider depends on provider, version solving failed
2
Answers
If we are talking about the package, just go to the pubspec.yaml file and add this under the dependencies section
This can happen if you accidentally call your project "provider". I’ve done that a couple of times and been very confused. "Oh, I want to test out riverpod, so I’ll create a dummy project named riverpod…"