Baseflow / flutter_cached_network_image

Download, cache and show images in a flutter app
https://baseflow.com
2.4k stars 631 forks source link

Failing to compile the Flutter application #925

Closed alexn777 closed 3 months ago

alexn777 commented 3 months ago

🔙 Regression

The Flutter application fails to compile after I upgraded Flutter to 3.19.0. You can find the list of errors here. And here is what I have found out. cached_network_image 3.3.1 depends on flutter_cache_manager 3.3.1, which depends on http 1.1.2, which depends on web 0.3.0. The latest version of the web package, which is web 0.5.0 at the moment, fixes the issues. http 1.2.1 depends on web 0.5.0. The latest version of the flutter_cache_manager package, which is 3.3.1, still depends on the old version of the http package, which cases issues.

Old (and correct) behavior

The Flutter application compiles without errors

Current behavior

The Flutter application fails to compile

Reproduction steps

Just try to compile the Flutter application

Configuration

cached_network_image version: 3.3.1 Flutter version 3.19.0 Dart version 3.3.0

Platform:

PcolBP commented 3 months ago

Tried today with flutter pub upgrade and flutter packages upgrade and works. Try by yourself.

alexn777 commented 3 months ago

A new version of Flutter was released yesterday and there were new updates to some packages I am using. Now the Flutter application compiles without issues. Thanks!