Resolving Dart external name from dependencies in WebStorm
After several months with WebStorm, I was still wondering why sometimes a class or function from an external Dart package was not resolved when trying to go to its definition. It turns out that i need to include the package(s) manually
https://www.jetbrains.com/webstorm/help/managing-dart-packages-and-assets.html
The simplest I found was to right click on the packages directory at the root and to right click
https://www.jetbrains.com/webstorm/help/managing-dart-packages-and-assets.html
The simplest I found was to right click on the packages directory at the root and to right click
Mark Directory As | Cancel Exclusion
, although sometimes selecting only the packages I import was sufficient.