We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Is your feature request related to a problem? Please describe.
Dart Code allows to create constructor for the final fields. It puts it by default below the fields.
Describe the solution you'd like
I would like to be able to customize position of the constructor when it's generated. It could be either set by the analyzer lint rule sort_constructors_first or by a switch in extension settings.
Describe alternatives you've considered
Manually moving constructor to the top of the class.
There's a popular lint rule sort_constructors_first that enforces ordering constructor at the top.
The text was updated successfully, but these errors were encountered:
[analyzer] Check sort_constructors_first lint when inserting construc…
Reviewed-by: Brian Wilkerson <email@example.com>
Commit-Queue: Brian Wilkerson <firstname.lastname@example.org>
Fixed by dart-lang/sdk@899654d. As it's in the language server, it'll show up in a future Dart/Flutter SDK release (not the VS Code extension release).
Sorry, something went wrong.
No branches or pull requests