flutter_sheet_localization
flutter_sheet_localization copied to clipboard
how I resolve error?
Because flutter_sheet_localization_generator >=1.2.0 depends on analyzer ^0.39.0 and kiwi_generator 2.1.1 depends on analyzer ^0.40.4, flutter_sheet_localization_generator >=1.2.0 is incompatible with kiwi_generator 2.1.1. And because no versions of kiwi_generator match >2.1.1 <3.0.0, flutter_sheet_localization_generator >=1.2.0 is incompatible with kiwi_generator ^2.1.1. So, because home_practices depends on both kiwi_generator ^2.1.1 and flutter_sheet_localization_generator ^2.1.2, version solving failed.

I see pr https://github.com/aloisdeniel/flutter_sheet_localization/pull/25 it's can resolve? thanks you
Any plans to accept the PR mentioned above? I have a package: https://github.com/delay/flutter_starter that relies on your plugin and would like to update it to work again. https://github.com/delay/flutter_starter/issues/12. Thanks for making this great plugin I have found it very useful for my own project!
For now this can be fixed temporarily by adding this to your pubspec.yaml: dependency_overrides: analyzer: 0.40.1 intl: 0.17.0-nullsafety.2
and in the dev_dependencies build_runner: ^1.11.0
I agree it would be great if that could be fixed completely at some point. I guess on Wednesday there is going to be an announcement of a big version change in flutter, that could be a good occasion.
Thanks for the info! I was able to fix the issue in my own sample project. I am also looking forward to the Wednesday announcement!
Sorry for the delay, I was on a big refactoring pass.
A new version is available. Please tell me if it works better on your side!
Note that there are a few changes to do to your delegate class implementation (see the README for more details).
Thanks I ended up making a generator similar to yours but a lot more stripped down and not as integrated for my own sample project, but it outputs GetX translation code and I use GetX throughout my app. I really liked how you handled translations and was very much inspired by what you did.