Generate code that supports implicit-dynamic: false
(list of all assets)
#301
Milestone
implicit-dynamic: false
(list of all assets)
#301
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: