flutter_money_formatter
flutter_money_formatter copied to clipboard
Dependency conflict with intl v0.16.0
Describe the bug Upon installing flutter money formatter, I'm receiving a dependency conflict with the intl package. Here is the error message:
Because flutter_money_formatter >=0.8.2 depends on intl ^0.15.8 and <project_name> depends on intl ^0.16.0, flutter_money_formatter >=0.8.2 is forbidden.
I have tried downgrading my version of intl, but then I get other dependency errors from packages in my project which depend on it.
To Reproduce Steps to reproduce the behavior:
- Install intl v0.16.0
- Attempt to install flutter_money_formatter v0.8.3
- See error described above
Expected behavior Ideally the package would install with intl v0.16.0 already installed.
Hopefully it's not me doing something wrong, if not would it be possible to update your package to work with the latest version of intl? Thank you.
I also confirm this, had to keep intl on 0.15.8
I also having the same problem.
[project_name] flutter packages get Running "flutter pub get" in project_name...
Because flutter_money_formatter >=0.8.2 depends on intl ^0.15.8 and every version of flutter_localizations from sdk depends on intl 0.16.0, flutter_money_formatter >=0.8.2 is incompatible with flutter_localizations from sdk.
So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed. pub get failed (1; So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed.) exit code 1
Same problem here.
I also having the same problem.
[project_name] flutter packages get Running "flutter pub get" in project_name... Because flutter_money_formatter >=0.8.2 depends on intl ^0.15.8 and every version of flutter_localizations from sdk depends on intl 0.16.0, flutter_money_formatter >=0.8.2 is incompatible with flutter_localizations from sdk.
So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed. pub get failed (1; So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed.) exit code 1
Even now I face the same error, any resolution for this issue?
I fixed with this dependency_overrides
dependency_overrides: intl: ^0.16.0