dart-xml icon indicating copy to clipboard operation
dart-xml copied to clipboard

The dart sdk version in pub.yaml should be a range?

Open Hilbert2048 opened this issue 1 year ago • 1 comments

Resolving dependencies...
The current Dart SDK version is 3.2.0-210.4.beta.

Because simple_icons depends on xml >=6.5.0 which requires SDK version ^3.2.0, version solving failed.

what about:

environment:
  sdk: ">=3.2.0 <4.0.0"

Hilbert2048 avatar Dec 17 '23 03:12 Hilbert2048

From a practical standpoint I am unable to test with older SDK versions. New releases are always published with the latest stable dependencies. Consider sticking with an older version of simple_icons until your dependencies have caught up; or using dependency overrides.

Note that the current stable version of the Dart SDK is 3.2.3.

renggli avatar Dec 17 '23 08:12 renggli