Closed Merculiar closed 1 year ago
Hi @Merculiar,
I believe that you have implicit-casts
set to false
in the analysis_options.yaml
file. If that is the case, perhaps excluding the generated files from the Dart Analysis might help.
The analysis_options.yaml
file
analyzer:
exclude: [lib/generated/**]
strong-mode:
implicit-casts: false
Hope it helps!
Closing this issue as a duplicate. In case I missed something, feel free to open this issue again.
Select generated code throws an error - The argument type 'dynamic' can't be assigned to the parameter type 'String' The code is taken from the example of the plugin. Select in arb:
Generated String:
Red error is annoying.