Import new_library
assist should auto-remove unecessary import
#55946
Labels
analyzer-quick-fix
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
When working on Flutter projects, sometimes I extract a
Widget
to a new file.While importing the missing dependencies with the assist, sometimes I miss click and import
widgets
first and thenmaterial
. Which then warns me about the unnecessary import ofwidgets
.I believe that the assist should replace the old import if that happens.
The text was updated successfully, but these errors were encountered: