extract widget refactoring should generate const constructors where appropriate #49560
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-refactoring
Issues with analysis server refactorings
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: