samples icon indicating copy to clipboard operation
samples copied to clipboard

Document how to add window_size as a dependency

Open rida2025 opened this issue 3 years ago • 1 comments

[first_app] flutter pub add window_size Because first_app depends on window_size any which doesn't exist (could not find package window_size at https://pub.dartlang.org), version solving failed. pub finished with exit code 65 exit code 65

rida2025 avatar Oct 14 '22 13:10 rida2025

window_size isn't published on pub.dev. If you look at the pubspec.yaml files in this repo you will see that the window_size dependency is actually on a Git repository. See https://docs.flutter.dev/development/packages-and-plugins/using-packages#dependencies-on-unpublished-packages for guidance on how to add these packages to your app.

domesticmouse avatar Oct 14 '22 14:10 domesticmouse