Add assist for additional parameters to be named parameters instead of required parameters #53301
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-assist
Issues with analysis server assists
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
From Flutter IJ issue here, flutter/flutter-intellij#6868:
Currently when I create a class with a final parameter, I have a hint from the IDE to add that field into the constructor. Currently it creates as a simple parameter, such as MyClass(this.myField), and I can also change it to a normal parameter, where it goes into the initialization list.
Since Flutter uses lots of named parameters, it will be very helpful if we could have the option to also have that field being added into the constructor as a named parameter.
The text was updated successfully, but these errors were encountered: