Just that: Why is the package manager called pub?
The pub package manager has a command-line interface that works with either the flutter tool or the dart tool. With either tool, add the pub command followed by a subcommand such as get : $ dart pub get # Gets dependencies for a non-Flutter package $ flutter pub get # Gets dependencies for a Flutter package.
Pub is Dart's package manager. It's where you pull in open-source libraries, as well as your own. Most packages you'll ever use are at pub.dartlang.org/. Here you'll find packages published by the Flutter and Dart teams, as well as Dart community members. Dart has a concise community.
Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs. Some basic command: Use pub get to get dependencies. Use pub upgrade to upgrade a dependency. Use pub publish to make your library available for others.
Get is one of the commands of the pub tool. This command gets all the dependencies listed in the pubspec. yaml file in the current working directory, as well as their transitive dependencies.
Because you play darts in a pub. :)
It also lets you have the "lish" command :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With