Adding content to 107-package-manager

pull/3389/head
syedmouaazfarrukh 2 years ago
parent aafce97040
commit 5171207ea3
  1. 2
      src/roadmaps/flutter/content/107-package-manager/100-pub-dev.md
  2. 20
      src/roadmaps/flutter/content/107-package-manager/101-flutter-pub-dart-pub.md
  3. 1
      src/roadmaps/flutter/content/107-package-manager/index.md

@ -1,6 +1,6 @@
# Pub dev
Flutter supports using shared packages contributed by other developers to the Flutter and Dart ecosystems.
`pub.dev` is the official package repository for Dart and Flutter packages. It is a platform for hosting, managing, and distributing Dart packages and Flutter plugins. Developers can use `pub.dev` to search for packages, find information about packages, and install packages in their Flutter projects.
Visit the following resources to learn more:

@ -1 +1,19 @@
# Flutter pub dart pub
# Flutter pub dart pub
`pub` is the package manager for Dart and Flutter, used for managing dependencies and publishing packages.
With `pub`, developers can:
- Search for and download packages from the `pub.dev` repository.
- Manage dependencies in their projects, including adding, updating, and removing packages.
- Publish their own packages to `pub.dev` for others to use.
`pub` uses a `pubspec.yaml` file in each project to manage dependencies and define the package metadata. This file includes information such as the package name, version, and dependencies.
In Flutter projects, `pub` is used to manage both Dart packages and Flutter plugins. This makes it easy to find and use packages that extend the functionality of your Flutter application.
`pub` is an essential tool for Dart and Flutter development, providing a centralized repository for packages, making it easier to find, install, and manage dependencies in your projects.
Learn more from the following links:
- [Overview of Dart pub](https://dart.dev/tools/pub/cmd)

@ -5,3 +5,4 @@ The package manager for Flutter is called pub. It is used to manage Flutter proj
Visit the following resources to learn more:
- [Packages and Plugins](https://docs.flutter.dev/development/packages-and-plugins)
- [Dart Package Manager (pub.dev) in Flutter](https://www.youtube.com/watch?v=F1VRO0_MKLs)
Loading…
Cancel
Save