Because dio 3.0.10 depends on http_parser >=0.0.1 <4.0.0 and no versions of dio match >3.0.10 <4.0.0, dio ^3.0.10 requires http_parser >=0.0.1 <4.0.0.
And because http >=0.13.0 depends on http_parser ^4.0.0, http >=0.13.0 is incompatible with dio ^3.0.10.
And because leancloud_storage 0.6.7 depends on dio ^3.0.10 and no versions of leancloud_storage match >0.6.7 <0.7.0, http >=0.13.0 is incompatible with leancloud_storage ^0.6.7.
So, because smart_***_client depends on both leancloud_storage ^0.6.7 and http ^0.13.3, version solving failed.pub get failed (1; So, because smart_***_client depends on both leancloud_storage ^0.6.7 and http ^0.13.3, version solving failed.)exit code 1
为了实现用户上传头像的功能,添加了对image_picker和image_cropper的依赖,但是flutter pub get
失败,log如上。
dio当前最新版本是4.0.0。请问,leancloud_storage能否考虑提高依赖dio的版本?谢谢!