graphx
graphx copied to clipboard
Dependency incompatibility with flutter_map
As said in the title - it's not possible to use graphx and flutter_map in the same project due to dependency conflict:
Because graphx >=1.0.0-nullsafety.0 <1.0.1 depends on http ^0.13.1 and graphx <1.0.0-nullsafety.0 doesn't support null safety, graphx <1.0.1 requires http ^0.13.1.
And because graphx >=1.0.1 <1.0.4 depends on http ^0.13.3, graphx <1.0.4 requires http ^0.13.1.
And because graphx >=1.0.4 <1.0.5 depends on http ^0.13.4 and graphx >=1.0.5 depends on http ^0.13.5, every version of graphx requires http ^0.13.1.
Because no versions of flutter_map match >5.0.0 <6.0.0 and flutter_map 5.0.0 depends on http ^1.0.0, flutter_map ^5.0.0 requires http ^1.0.0.
Thus, flutter_map ^5.0.0 is incompatible with graphx.
So, because dartgcs depends on both flutter_map ^5.0.0 and graphx any, version solving failed.
Did you try dependency_overrides?
http dependency is not upgraded to the latest version. Could be removed from the core graphx package in the future, same as xml.