Refactoring to convert params/args between positional and named #56280
Labels
devexp-refactoring
Issues with analysis server refactorings
legacy-area-analyzer
Use area-devexp instead.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
It would be great if the Dart tooling supported a quick fix that converted functions between positional and named argument types (in either direction).
If the function already has a mix of parameter types, then only the applicable parameters would be converted.
Before:
After:
or vice versa.
All invocation site args should also be fixed to correspond to the change in the definition of the function parameters.
(Dart version 3.5.0-180.3.beta)
The text was updated successfully, but these errors were encountered: