title: Error setting-up flutter_localizations package "Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.dart'."
body: <p>This error appears when I try to add language support to my flutter application:</p>
  <pre><code>Target of URI doesn't exist: 'package:flutter_gen/gen_l10n/app_localizations.dart'. Try creating the file referenced by the URI, or Try using a URI for a file that does exist.
  </code></pre>
  <p>I’m using <code>flutter_localizations</code>, the project is built with dart 2.7.0</p>
  <p>It seems that <code>flutter_localizations</code> needs latest sdk which is dart 2.13.0</p>
  <p>How can I fix this?</p>