Closed
Description
When you paste imports that are not in your pubspec, we usually show a "Add foo to dependencies" quick-fix. This doesn't happen if the package is a transitive dependency because the error code is depend_on_referenced_packages
and not one of ["uri_does_not_exist", "conditional_uri_does_not_exist"]
.