Extract variable should include type when always_include_types lint is enabled #4177
Labels
in editor
Relates to code editing or language features
in lsp/analysis server
Something to be fixed in the Dart analysis server
is enhancement
relies on sdk changes
Something that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Is your feature request related to a problem? Please describe.
I prefer to avoid
var
whenever possible. When I use theextract local variable
feature, it only extracts it as var:becomes
Describe the solution you'd like
Use the types, if provided. So:
The text was updated successfully, but these errors were encountered: