Quickfix "Add final field formal parameters" ignores always_put_required_named_parameters_first lint #60783
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Uh oh!
There was an error while loading. Please reload this page.
Considering the following code sample:
Using the
Add final field formal parameters
quickfix, this producesWhen using a distilled sample with just Foo & Bar (no Flutter), the quickfix did not insert them as named parameters, which prevented the issue. (I don't know how to tell the quickfix to insert named params, since I don't use the quickfix that much)
turns into
The text was updated successfully, but these errors were encountered: