From 5171207ea3559e4726c38784044b914b00d0b070 Mon Sep 17 00:00:00 2001 From: syedmouaazfarrukh Date: Mon, 30 Jan 2023 07:47:41 -0800 Subject: [PATCH] Adding content to 107-package-manager --- .../107-package-manager/100-pub-dev.md | 2 +- .../101-flutter-pub-dart-pub.md | 20 ++++++++++++++++++- .../content/107-package-manager/index.md | 1 + 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/roadmaps/flutter/content/107-package-manager/100-pub-dev.md b/src/roadmaps/flutter/content/107-package-manager/100-pub-dev.md index 93ea9b356..b400e7450 100644 --- a/src/roadmaps/flutter/content/107-package-manager/100-pub-dev.md +++ b/src/roadmaps/flutter/content/107-package-manager/100-pub-dev.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: diff --git a/src/roadmaps/flutter/content/107-package-manager/101-flutter-pub-dart-pub.md b/src/roadmaps/flutter/content/107-package-manager/101-flutter-pub-dart-pub.md index e7a99cb88..c80b66261 100644 --- a/src/roadmaps/flutter/content/107-package-manager/101-flutter-pub-dart-pub.md +++ b/src/roadmaps/flutter/content/107-package-manager/101-flutter-pub-dart-pub.md @@ -1 +1,19 @@ -# Flutter pub dart pub \ No newline at end of file +# 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) \ No newline at end of file diff --git a/src/roadmaps/flutter/content/107-package-manager/index.md b/src/roadmaps/flutter/content/107-package-manager/index.md index 42c0cbe71..3e99399b6 100644 --- a/src/roadmaps/flutter/content/107-package-manager/index.md +++ b/src/roadmaps/flutter/content/107-package-manager/index.md @@ -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) \ No newline at end of file