Reputation: 7060
I was studying basics of Flutter and Dart development and came across package manager called pub. What is it and what is it's importance in Flutter development?
Upvotes: 0
Views: 964
Reputation: 5763
Pub is a package manager for dart to know more about pub see this: https://www.dartlang.org/tools/pub
Upvotes: 0
Reputation: 20140
Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs.
Some basic command:
pub get
to get dependenciespub upgrade
to upgrade a dependencypub publish
to make your library available for othersYou can find all packages here.
Also you can develop your own package, find the details on official site.
Upvotes: 3