I am using http dependency and Cloudinary requires Dio
I am getting the following error:
*Because http 0.13.1 depends on http_parser ^4.0.0 and dio >=3.0.0-dev.1 <4.0.0-beta1 depends on http_parser >=0.0.1 <4.0.0, http 0.13.1 is incompatible with dio >=3.0.0-dev.1 <4.0.0-beta1.*
-
And because cloudinary_client >=0.0.7 depends on dio ^3.0.2, http 0.13.1 is incompatible with cloudinary_client >=0.0.7.*
-
So, because flutterjb depends on both cloudinary_client ^0.0.9 and http 0.13.1, version solving failed.*
-
pub get failed (1; So, because flutterjb depends on both cloudinary_client ^0.0.9 and http 0.13.1, version solving failed.)*
-
exit code 1*
Is there a way around without changing from http to Dio
here are my dependencies:
dependencies:
http: 0.13.1
flutter_secure_storage: ^4.1.0
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
cloudinary_client: ^0.0.9
multi_image_picker: ^4.8.0
provider: ^5.0.0