FlutterGen / flutter_gen

The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
https://pub.dev/packages/flutter_gen
MIT License
1.46k stars 146 forks source link

2.0 still incompatible with intl_translation #87

Closed Fintasys closed 2 years ago

Fintasys commented 3 years ago

I've tried running FlutterGen with any version and ^2.0.0 version, but I still have conflict with intl_translation

Because flutter_gen_runner >=2.0.0 depends on flutter_gen_core ^2.0.0 which depends on dart_style ^1.3.12, flutter_gen_runner >=2.0.0 requires dart_style ^1.3.12.

Because dart_style >=1.3.13 requires SDK version >=2.11.99 <3.0.0 and dart_style >=1.3.11 <1.3.13 depends on analyzer ^0.41.1, dart_style >=1.3.11 requires analyzer ^0.41.1.

(1) Thus, flutter_gen_runner >=2.0.0 requires analyzer ^0.41.1.

Because intl_translation >=0.17.8 <=0.17.10 depends on analyzer >=0.36.0 <0.40.0 and no versions of intl_translation match >0.17.10+1 <0.18.0, intl_translation >=0.17.8 <0.17.10+1 or >0.17.10+1 <0.18.0 requires analyzer >=0.36.0 <0.40.0.

And because intl_translation 0.17.10+1 depends on analyzer ^0.39.12, intl_translation ^0.17.8 requires analyzer >=0.36.0 <0.40.0.

And because flutter_gen_runner >=2.0.0 requires analyzer ^0.41.1 (1), flutter_gen_runner >=2.0.0 is incompatible with intl_translation ^0.17.8.

So, because DemoProject depends on both intl_translation ^0.17.10 and flutter_gen_runner ^2.0.0, version solving failed.

Any idea how to make it work? Thank you!

wasabeef commented 3 years ago

@Fintasys Thanks! I'll check.

wasabeef commented 3 years ago

@Fintasys

Hi, We fixed the conflicts in v2.0.1, so can you try it?