You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Analyzer complains about missing asset if you specify a folder in pubspec.yaml for Flutter #33550
Flutter introduced the ability to specify asset directories (and just include all files) instead of needing to specify all files as of flutter/flutter#16413
Is there some way to tell the analyzer to ignore this in analysis_options.yaml or pubspec.yaml? I tried # ignore_for_file: asset_does_not_exist to no avail. Also tried setting that to ignore in analysis_options.yaml but that complains it doesn't exist.
Activity
dnfield commentedon Jun 21, 2018
Is there some way to tell the analyzer to ignore this in
analysis_options.yamlorpubspec.yaml? I tried# ignore_for_file: asset_does_not_existto no avail. Also tried setting that to ignore inanalysis_options.yamlbut that complains it doesn't exist.dnfield commentedon Jun 21, 2018
Hah - I was looking at the code and became confused cause it seemed like it should work .. and that's because the PR was merged in yesterday d895b49
dnfield commentedon Jun 21, 2018
This ignores it for now - in analysis_options.yaml