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

Version Conflict Between device_preview and intl #256

Open
MehediHasannOvi opened this issue Jan 16, 2025 · 0 comments
Open

Version Conflict Between device_preview and intl #256

MehediHasannOvi opened this issue Jan 16, 2025 · 0 comments

Comments

@MehediHasannOvi
Copy link

when i try to add flutter_device_preview
show this

The current Dart SDK version is 3.6.1.

Because device_preview <0.7.0 doesn't support null safety and device_preview >=0.7.0 depends on flutter_localizations from sdk, every version of device_preview requires flutter_localizations from sdk.
And because every version of flutter_localizations from sdk depends on intl 0.19.0, every version of device_preview requires intl 0.19.0.
So, because ramadan_planner depends on both intl ^0.20.1 and device_preview any, version solving failed.

The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
Failed to update packages.

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

No branches or pull requests

1 participant