
The most recent Flutter IntelliJ plugin replaces FLUTTER_MODULE with WEB_MODULE and eliminates the exclusion of packages/ directories. Use of the packages/ directory was turned off by default months ago, and is replaced by the .packages file.
Flutter tools
Tools for building Flutter applications.
To run the tests, ensure that no devices are connected,
then navigate to flutter_tools
and execute:
../../bin/cache/dart-sdk/bin/pub run test