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
The new "list of all assets" feature (values on generated classes) can trigger implicit_dynamic_list_literal warnings when implicit-dynamic: false is configured in the analyzer.
It does not happen if a directory contains all files of the same type, but it does for a directory e.g. mixing svg and png files, making values to be of type dynamic (BTW non-nullable Object would be more precise).
ignore_for_file: implicit_dynamic_list_literal might be enough to work this around.
The text was updated successfully, but these errors were encountered:
The new "list of all assets" feature (
values
on generated classes) can trigger implicit_dynamic_list_literal warnings whenimplicit-dynamic: false
is configured in the analyzer.It does not happen if a directory contains all files of the same type, but it does for a directory e.g. mixing svg and png files, making
values
to be of typedynamic
(BTW non-nullableObject
would be more precise).ignore_for_file: implicit_dynamic_list_literal
might be enough to work this around.The text was updated successfully, but these errors were encountered: