How to resolve version solving failed in flutter

Posted by

Error

Because my_hospital_now_doctor depends on multi_select_flutter ^0.5.2 which doesn't match any versions, version solving failed. Running "flutter pub get" in mhn_app_doctor... pub get failed (1; Because my_hospital_now_doctor depends on multi_select_flutter ^0.5.2 which doesn't match any versions, version solving failed.)

Solution:

I need to use dependency override.

Since this code is from my project, the path provider was the issue; hence, you must locate the relevant package. This will resolve your issue if you take the conflict and place it inside the dependency_overrides.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x