flutter-plugin
flutter-plugin copied to clipboard
The current Dart SDK version is 3.3.4.
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
I have same problem
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?
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 usessdk > 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"
facing same issue