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

The current Dart SDK version is 3.3.4. #260

Open
Pawankant87 opened this issue Apr 29, 2024 · 5 comments
Open

The current Dart SDK version is 3.3.4. #260

Pawankant87 opened this issue Apr 29, 2024 · 5 comments

Comments

@Pawankant87
Copy link

flutter pub add pay
exit code 65
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.

The current Dart SDK version is 3.3.4.

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

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

@macuser79
Copy link

I have same problem

@JlUgia
Copy link
Member

JlUgia commented May 9, 2024

Hi @Pawankant87 and @macuser79, I just created a new project and added pay using the console and can't reproduce the error. Also the error logs don't seem to apply to the current version of the package, which uses sdk > 3.0.0 on all its subpackages.

Can you share more details about your environment, and steps to reproduce the issue?

@macuser79
Copy link

macuser79 commented May 9, 2024

Hi @Pawankant87 and @macuser79, I just created a new project and added pay using the console and can't reproduce the error. Also the error logs don't seem to apply to the current version of the package, which uses sdk > 3.0.0 on all its subpackages.

Can you share more details about your environment, and steps to reproduce the issue?

Hello.
I have this error:

Because pay >=1.0.0 depends on flutter_localizations from sdk which depends on intl 0.18.1, pay >=1.0.0 requires intl 0.18.1. So, because myapp depends on both intl ^0.19.0 and pay ^2.0.0, version solving failed.

environment: sdk: '>=3.3.1 <4.0.0'

I have add pay: ^2.0.0 on pubspec.yaml and execute command "pub get"

@rehan-505
Copy link

facing same issue

1 similar comment
@Yangnyeon
Copy link

facing same issue

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

5 participants