Please i need help with this "version solving failed."

Custom Code

I wrote a code that fetch FCM code from firebase so i use 'Firebase_Messaging' dependency. screenshot below BUT i kept getting these error when compiling.

"Error: Failed running flutter pub get...

Because http >=1.1.2 <1.2.1 depends on web >=0.3.0 <0.5.0 and custom_widget depends on web ^0.5.1, http >=1.1.2 <1.2.1 is forbidden.

So, because custom_widget depends on http 1.2.0, version solving failed."

What have you tried so far?

I've tried different versions of the dependencies but nothing works

Did you check FlutterFlow's Documentation for this topic?
No
2
12 replies