-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
Description
This is a pre-emptive issue thread, as we recently published a new version of package:intl
. This results in the following error message, as long as Flutter has not updated their pinned version.
mosuem@mosuem:~/my_app$ flutter pub get
Resolving dependencies... (1.0s)
Note: intl is pinned to version 0.19.0 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because my_app depends on flutter_localizations from sdk which depends on intl 0.19.0, intl 0.19.0 is required.
So, because my_app depends on intl ^0.20.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on intl: flutter pub add intl:^0.19.0
See https://github.com/dart-lang/sdk/blob/main/docs/Flutter-Pinned-Packages.md for more information. The easiest solution is add this to your pubspec.yaml
:
dependency_overrides:
intl: 0.20.0
peterwvj, asaarnak, jodinathan, CarloDotLog and Danny-06