0

I upgraded my flutter version to the latest one and I'm updating my dependencies in my pubspec.yaml.

Whenever I run flutter packages get or flutter pub get I get this error:

Error showing in terminal

This is what my dependencies look like:

Dependencies in pubspec.yaml

Could someone please help me fix this bug?

julemand101
  • 28,470
  • 5
  • 52
  • 48

1 Answers1

0

You can also use dependency overrides in pubspec.yaml:

dependency_overrides:
   firebase_auth_web: ^1.0.3

but plugins that depend on another version of the dependency you override can break if you do this.

Refrence

Majid Ali
  • 485
  • 6
  • 17