Closed ricardoboss closed 7 months ago
Okay, feedback
doesn't directly depend on intl
. flutter pub get
yields this message:
Resolving dependencies...
Note: intl is pinned to version 0.18.1 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because no versions of feedback match >3.0.0 <4.0.0 and feedback 3.0.0 depends on flutter_localizations from sdk, feedback ^3.0.0 requires flutter_localizations from sdk.
And because every version of flutter_localizations from sdk depends on intl 0.18.1, feedback ^3.0.0 requires intl 0.18.1.
So, because <app> depends on both intl ^0.19.0 and feedback ^3.0.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.18.1
I guess you can't influence the constraints from the flutter_localizations
...
I just encountered same issue.
Is your feature request related to a problem? Please describe. I want to use the latest version of intl, which is currently
0.19.0
butfeedback
requires0.18.1
.Describe the solution you'd like Ideally,
feedback
could just allow newer minor versions ofintl
in general. But the "minimum effort" solution would be to just bump the dependency to0.19.0
.Describe alternatives you've considered I could downgrade to
intl@0.18.1
, but I'm not sure this will always be the case for everyone.