extract widget refactoring should generate const constructors where appropriate #49560
Labels
analyzer-refactoring
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
In particular, if
prefer_const_constructors
is enabled, we should generateconst
constructors where valid.(Note that currently the logic that the lint uses is in
LinterContext
which is not available to refactorings.)The text was updated successfully, but these errors were encountered: