Skip to content

Resolve intl version conflict for Flutter 3.32#25

Open
masa-tokyo wants to merge 1 commit intoleancodepl:mainfrom
masa-tokyo:upgrade-intl
Open

Resolve intl version conflict for Flutter 3.32#25
masa-tokyo wants to merge 1 commit intoleancodepl:mainfrom
masa-tokyo:upgrade-intl

Conversation

@masa-tokyo
Copy link
Copy Markdown

Hi, team.
Thanks for the great package.

After upgrading the Flutter SDK in my project to 3.32, I bumped into the version conflict:

Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.


Because arb_translate >=0.0.2 depends on intl ^0.19.0 and every version of flutter_localizations from sdk depends on intl 0.20.2, arb_translate >=0.0.2 is incompatible with flutter_localizations from sdk.
So, because base_ui depends on both flutter_localizations from sdk and arb_translate ^1.1.0, version solving failed.
Failed to update packages.
exit code 1

To resolve this, I changed the intl version to any to be more flexible.

After upgrading dart version to 3.8, the intl version conflicts.
@masa-tokyo masa-tokyo changed the title Change intl version into any for Flutter 3.32 Resolve intl version conflict for Flutter 3.32 May 21, 2025
@masa-tokyo
Copy link
Copy Markdown
Author

Currently, it seems you need the models implemented in #24 for things to work.

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.

1 participant