Flutter_cached_network_image: Not able to install

Created on 16 Mar 2018  路  5Comments  路  Source: Baseflow/flutter_cached_network_image

[myapp] flutter packages get
Running "flutter packages get" in myapp...
Package flutter_cache_manager has no versions that match >=0.0.4 <0.1.0 derived from:

  • cached_network_image 0.3.0 depends on version ^0.0.4
    pub get failed (1)
    exit code 1

Most helpful comment

This might have to do with the release of Dart 2.0 in Flutter.
Could you try if version 0.4.0-rc.1 of the cached_network_image works?

All 5 comments

That is strange.. It should be able to get version 0.0.4+1 of the cache manager from pub. Do you still have this problem?

I have the same problem:

Running "flutter packages get" in x ...         
Package flutter_cache_manager has no versions that match >=0.0.4 <0.1.0 derived from:
- cached_network_image 0.3.0 depends on version ^0.0.4
pub get failed (1)

Exactly the same problem as @lemonboston

This might have to do with the release of Dart 2.0 in Flutter.
Could you try if version 0.4.0-rc.1 of the cached_network_image works?

cached_network_image: "^0.4.0-rc.1"

this works! Thanks! (I also had to update shared preferences to ^0.4.0)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gjrjf picture gjrjf  路  4Comments

chow2324 picture chow2324  路  4Comments

port3000 picture port3000  路  5Comments

flutteradv picture flutteradv  路  6Comments

sososdk picture sososdk  路  5Comments