screenshots icon indicating copy to clipboard operation
screenshots copied to clipboard

Don't use pub directly

Open MarcelGarus opened this issue 4 years ago • 1 comments

In Flutter's bin directory, there are only flutter and dart executables, no pub executable. So in order to use screenshots, I can't rely on the Dart that comes pre-bundled with Flutter. Instead, I have to install Dart separately.

It would be great if screenshots could use dart pub instead of relying on pub directly.

MarcelGarus avatar Feb 11 '21 11:02 MarcelGarus

I fixed this by adding C:\src\flutter\bin\cache\dart-sdk\bin in my path.

MarcelGarus avatar Feb 13 '21 13:02 MarcelGarus