What is the difference in
dev_dependencies in a
pubspec.yaml? It seems that when I run
pub get the
dev_dependencies aren’t downloaded.
dev_dependencies are dependencies that are not available for code in the resulting application, but only for tests, examples, tools, or to add executable tools like for code generation to your project.
dev_dependencies of any dependencies in your project (
dev_dependencies) are always ignored when you publish to pub.dev.
See also https://dart.dev/tools/pub/pubspec
Answered By – Günter Zöchbauer
Answer Checked By – Katrina (FlutterFixes Volunteer)