very_good_cli icon indicating copy to clipboard operation
very_good_cli copied to clipboard

fix: out of the box does not work, clash between intl and flutter:gen any

Open neiljaywarner opened this issue 6 months ago • 2 comments

Description Clash between intl and flutter_gen, imports do not work for app localizations see https://stackoverflow.com/questions/64574620/target-of-uri-doesnt-exist-packageflutter-gen-gen-l10n-gallery-localizations "That was my issue also. Basically the intl package generates localisation code under a fake flutter_gen package, but there is also a real flutter_gen package on pub.dev. If you install the latter, it will take priority and hide the generated localisation code, so it will appear to not exist. – rjh CommentedAug 28, 2022 at 14:04 "

Steps To Reproduce

  1. very_good create
  2. flutter run

Expected Behavior project compiles and runs, no dart analysis errors

** fixed by** remove flutter-gen: any from the pubspec.yaml, flutter pub.geet 5-aug-2024 stable channel, recent/latest cli

neiljaywarner avatar Aug 05 '24 16:08 neiljaywarner