flutter_cached_network_image icon indicating copy to clipboard operation
flutter_cached_network_image copied to clipboard

Failing to compile the Flutter application

Open alexn777 opened this issue 2 years ago • 2 comments

🔙 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:

  • [ ] :iphone: iOS
  • [ ] :robot: Android

alexn777 avatar Feb 16 '24 16:02 alexn777

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

PcolBP avatar Feb 22 '24 13:02 PcolBP

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!

alexn777 avatar Feb 22 '24 15:02 alexn777