Is your feature request related to a problem? Please describe.
Right now extractFlutterSdkPathFromPackagesFile tries to read the path to the "flutter" package and this works well for flutter projects, but does not work for pure dart projects.
Describe the solution you'd like
In ".package_config.json" there seem to be a field called "flutterRoot" which points to the sdk and is present regardless of the flutter package (and even created when running "dart pub get", though I have flutter installed on my device).
The URIs differ a bit, though:
"rootUri": "file://.../Desktop/flutter/packages/flutter",
"flutterRoot": "file://.../Desktop/flutter",
Maybe it's worth it to read the "flutterRoot" field instead?
Describe alternatives you've considered
_
Additional context
_