This warning get it more like below
flutter_localizations from sdk which depends on intl 0.18.0, intl 0.18.0 is required
or
depends on intl ^0.17.0, version solving failed
or
Because flutter_cupertino_localizations >=1.0.1 doesn’t support null safety and no versions of flutter_cupertino_localizations match >=1.0.1-nullsafety.0 <1.0.1, flutter_cupertino_localizations >=1.0.1-nullsafety.0 is forbidden. So, because chatty depends on flutter_cupertino_localizations ^1.0.1-nullsafety.0, version solving failed. The lower bound of “sdk: ‘>=2.0.0-dev.68.0 <3.0.0′” must be 2.12.0 or higher to enable null safety.
It happens in general if you upgrade your Flutter SDK. See the error in complete picture.
Actually it’s easy to solve.
Find your pubspec.yaml, and change your version to the hints.
In my case the intl version is 0.17 but new flutter sdk requires to be 0.18.0
Change it in the pubspec.ymal file to 0.18.0
Not Working
remove flutter_cupertino_localizations from the yaml file
then what else you get as error?
Hi sir you are the best of best I always watch your videos because it is very helpful. sir I am your follower from AFG and I really need to do this project it is depend in my internship. you also replay to on youtube. sir but it is not working. hope you find some time and help me .
please help sir
PS C:\Users\WOLF SAHEB\AndroidStudioProjects\untitled> flutter pub upgrade intl
Resolving dependencies… (19.5s)
The current Dart SDK version is 3.3.3.
Because chatty depends on flutter_cupertino_localizations >=1.0.1 which doesn’t support null safety, version solving failed.
The lower bound of “sdk: ‘>=2.0.0-dev.68.0
this is how it show to me
first remove flutter_cupertino_localizations from yaml file