Dart analyzer is not parsing the dynamic generated files


I checked and the file is OK.

Dart 1.23.0
AngularDart 3.1.0

The error I am getting is:

Target of URI hasn’t been generated: ‘file.g.dart’

enter image description here


It may help to run “Synchronize” — bound by default to Ctrl-Q.

You can restart the analyzer on the dart analysis tab, in the top left is a button with arrows running in a circle, if you hover over it it says ‘Restart Dart Analysis Server’.

Example picture

Answered By – David Morgan

Answer Checked By – Mildred Charles (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *