excel icon indicating copy to clipboard operation
excel copied to clipboard

Can it depend on xml ^5.0.0 ?

Open mauritoo opened this issue 3 years ago • 1 comments

Hi! I'm currently trying to use the package but I'm having problems on solving dependencies. Seems like flutter_svg package uses a newer version of xml package and that generates an inconsistence. See my output below:

[pvsadmin] flutter pub get Running "flutter pub get" in pvsadmin... Because excel >=1.0.4 <2.0.0-null-safety depends on xml ^4.1.0 and flutter_svg 0.22.0 depends on xml ^5.0.0, excel >=1.0.4 <2.0.0-null-safety is incompatible with flutter_svg 0.22.0. And because no versions of flutter_svg match >0.22.0 <0.23.0, excel >=1.0.4 <2.0.0-null-safety is incompatible with flutter_svg ^0.22.0. So, because pvscontrol depends on both flutter_svg ^0.22.0 and excel ^1.1.5, version solving failed. pub get failed (1; So, because pvscontrol depends on both flutter_svg ^0.22.0 and excel ^1.1.5, version solving failed.) exit code 1

So currently I cant use both packages at the same time. But I would love to try yours!

mauritoo avatar Oct 12 '21 17:10 mauritoo

You can ref to version 2.0.0 -null-safety-3. It works for me.

nghinguyengremsy avatar Dec 03 '21 16:12 nghinguyengremsy

This issue has now been fixed, version 2.0.1 that just released fixed many package conflicts.

FauconSpartiate avatar Dec 16 '22 17:12 FauconSpartiate