Malwinder Singh
Malwinder Singh

Reputation: 7060

What is pub tool?

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

Answers (2)

Kalpesh Kundanani
Kalpesh Kundanani

Reputation: 5763

Pub is a package manager for dart to know more about pub see this: https://www.dartlang.org/tools/pub

Upvotes: 0

AAryan
AAryan

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:

  • Use pub get to get dependencies
  • Use pub upgrade to upgrade a dependency
  • Use pub publish to make your library available for others

You can find all packages here.

Also you can develop your own package, find the details on official site.

Upvotes: 3

Related Questions