Working with dart/flutter in VSCode (1.38.1). I want to rename a class, so want to rename its dart file. I right-click on the filename in VSCode and rename the dart file. I then change all its imports to reflect the name, but when I run Debug, I get the error
path\old_name.dart were declared as an inputs, but did not exist. Check the definition of target:kernel_snapshot for errors
What more does one have to do to rename a file in VSCode/dart?
EDIT: I tried "flutter clean" but it still resulted in the error.