Closed R12-cookies closed 1 year ago
Any update on this problem?
Any updates?
@petchgabriel @RomanSoviak Nope, sadly couldn't find a solution I ended up dropping intl_translation, and making drastic changes to my app.
Is this package being maintained any more? I've been waiting for a fix for two months so I think I'm going to have to drop it too now.
upgrading to args
v2 should solve this problem. It's really surprising to see this repo is under dart-lang org!
Depending on your dependencies you can add dependency_overrides
block and specify specific versions there.
@mehrdad-shokri may you add an example? It would be so useful 🎉
@rocboronat this is a segment of my dependencies
section
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
and this is part of dev_dependencies
dev_dependencies:
flutter_test:
sdk: flutter
intl_translation: ^0.17.10+1
pedantic: ^1.9.0
flutter_flavorizr: ^1.0.11
And this is a segment of dependency_overrides
section
dependency_overrides:
intl: ^0.17.0-nullsafety.2
By specifying intl: ^0.17.0-nullsafety.2
you stick to this specific version so if 2 (dev)dependencies conflict on version of a shared lib, you have specified what version to use
whenever I add these two packages:
to my pubspec.yaml and run "flutter pub get" I get the following error:
Now, I tried changing the version number of both packages but it wasn't that evident since I have a lot of other dependent packages in my pubspec.yaml
pubspec.yaml file:
I am on dev channel and I have already upgraded all of my dependencies, I am also using the lastest version of flutter
flutter doctor output:
How can I fix this?