flutter で他言語に対応するために flutter_localizations の設定をしてたら下記のようなエラーが出た。
リファレンス にある手順を踏んでいて発生するエラーだった。
発生したエラー
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.
解決策
こちらの記事を参考に一度VSCodeを終了して再度プロジェクトを開いたら解消した。
どうやらVSCodeのバグやキャッシュなど影響している模様。