Open FMorschel opened 2 months ago
While importing the missing dependencies with the assist ...
Are you manually extracting the widget, or is the 'Move to File' refactoring sometimes not adding the imports automatically?
I believe that the assist should replace the old import if that happens.
That's definitely an interesting idea. I suspect the right way to do that would be to look to see whether the import being added exports an existing import.
Manually moving. This was before I found out about the new "Move to File" refactor.
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.