Skip to content

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

@djayaraj123

Description

@djayaraj123

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions