Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update intl dependency #254

Merged
merged 1 commit into from Dec 18, 2020
Merged

Update intl dependency #254

merged 1 commit into from Dec 18, 2020

Conversation

nohli
Copy link
Contributor

@nohli nohli commented Dec 17, 2020

flutter_calendar_carousel doesn't work with the new Flutter beta any more:

Because flutter_calendar_carousel 1.5.1 depends on intl >=0.1.0 <0.17.0 and no versions of flutter_calendar_carousel match >1.5.1 <2.0.0, flutter_calendar_carousel ^1.5.1 requires intl >=0.1.0 <0.17.0.

So, because (app name) depends on both flutter_calendar_carousel ^1.5.1 and intl ^0.17.0-nullsafety.2, version solving failed.
pub get failed (1; So, because (app name) depends on both flutter_calendar_carousel ^1.5.1 and intl ^0.17.0-nullsafety.2, version solving failed.)
exit code 1

Since the last intl version 0.16.1 only sdk constraints were changed, so it should be safe to support 0.17.x:
https://github.com/dart-lang/intl/commits/master

FYI if one does not update intl with Flutter beta, you get this error:

Because every version of flutter_localizations from sdk depends on intl 0.17.0-nullsafety.2 and (app name) depends on intl ^0.16.1, flutter_localizations from sdk is forbidden.

So, because (app name) depends on flutter_localizations any from sdk, version solving failed.
pub get failed (1; So, because (app name) depends on flutter_localizations any from sdk, version solving failed.)
exit code 1
dev_dependencies:
  flutter_localizations:
    sdk: flutter

Copy link
Member

@hyochan hyochan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates!

@hyochan hyochan merged commit 0b570b1 into dooboolab-community:master Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants