LeGoffMael / insta_assets_picker

An image (and videos) picker similar with Instagram, supports multi picking, crop and aspect ratio.
https://pub.dev/packages/insta_assets_picker
MIT License
79 stars 34 forks source link

when adding the new version then throwing the bellow issue. #29

Closed rajivmegamind closed 9 months ago

rajivmegamind commented 9 months ago
Resolving dependencies...
Because insta_assets_picker >=1.6.0 depends on extended_image ^8.1.0 which depends on extended_image_library ^3.6.0, insta_assets_picker >=1.6.0 requires extended_image_library ^3.6.0.
And because extended_image_library >=3.5.3 <4.0.0-dev depends on http_client_helper ^3.0.0 which depends on http ^1.0.0, insta_assets_picker >=1.6.0 requires http ^1.0.0.
So, because secondfit depends on both http ^0.13.5 and insta_assets_picker ^2.1.0, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on insta_assets_picker: flutter pub add insta_assets_picker:^1.5.2
rajivmegamind commented 9 months ago

when change the package version insta_assets_picker:^1.5.2 then issue is gone but throwing the bellow error

21

LeGoffMael commented 9 months ago

So, because secondfit depends on both http ^0.13.5 and insta_assets_picker ^2.1.0, version solving failed.

The error is describing the issue, you should upgrade the version of the http package to at least ^1.0.0 in your pubspec