image_compare icon indicating copy to clipboard operation
image_compare copied to clipboard

'image_compare' package in not compatible with latest 'image' package

Open djayaraj123 opened this issue 2 years ago • 0 comments

Latest 'image_compare' package version 1.1.2 is compatible only with older version of 'image' package 3.3.0 whereas the latest version of 'image' package is 4.1.4.

Terminal after running 'flutter pub get': Resolving dependencies... (1.5s) Because image_compare 1.1.2 depends on image ^3.0.0 and no versions of image_compare match >1.1.2 <2.0.0, image_compare ^1.1.2 requires image ^3.0.0. So, because projectname depends on both image ^4.0.17 and image_compare ^1.1.2, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on image: flutter pub add image:^3.3.0

djayaraj123 avatar Jan 24 '24 11:01 djayaraj123