I am trying to use the Jiffy
package and the flutter
localization package. Problem is now, that both are using the intl package, but with different versions. When I try "Packages get" I get the following error:
Because every version of flutter_localizations from sdk depends on intl 0.15.8 and every version of jiffy depends on intl ^0.16.0, flutter_localizations from sdk is incompatible with jiffy.
Is there a way to solve it? To use both version of intl for example?
Thanks
You just need to add this to your pubspec.yaml
file:
dependency_overrides:
intl: ^0.16.0
go to your pubspec.yamal and
under of global_configuration
:
set intl version like this :
dependency_overrides:
intl: ^0.15.8
and change it to :
dependency_overrides:
intl: ^0.16.0
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With