0

I am trying to implement map_view plugin in my flutter application. Followed the instructions provided in the plugin documentation but failed to install the plugin.

I have added the dependency for map_view plugin to pubspec.yaml as below,

dependencies:
map_view: "^0.0.10"

but after running flutter packages get, I am getting this error

Package uri has no versions that match >=0.11.1 <0.12.0 derived from:
- map_view 0.0.10 depends on version ^0.11.1
pub get failed (1)

How can I solve this?

1 Answer 1

1

delete this from the pubspec.yaml and it works:

dev_dependencies:
    flutter_test:
        sdk: flutter

The plugin developer answers the question here.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.