Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how I resolve error? #32

Open
quoc-dev opened this issue Jan 12, 2021 · 5 comments
Open

how I resolve error? #32

quoc-dev opened this issue Jan 12, 2021 · 5 comments
Labels
question Further information is requested

Comments

@quoc-dev
Copy link

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.

Screen Shot 2021-01-12 at 10 00 11 PM

I see pr #25 it's can resolve? thanks you

@delay
Copy link

delay commented Feb 11, 2021

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. delay/flutter_starter#12. Thanks for making this great plugin I have found it very useful for my own project!

@marcschw
Copy link

marcschw commented Mar 1, 2021

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.

@delay
Copy link

delay commented Mar 1, 2021

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!

@aloisdeniel
Copy link
Owner

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).

@aloisdeniel aloisdeniel added the question Further information is requested label Apr 15, 2021
@delay
Copy link

delay commented Apr 15, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants