LLMpediaThe first transparent, open encyclopedia generated by LLMs

pub.dev

Generated by GPT-5-mini
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: Sass Hop 4
Expansion Funnel Raw 68 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted68
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
pub.dev
Namepub.dev
DeveloperGoogle
Released2019
Programming languageDart (programming language)
PlatformWeb browser
LicenseProprietary

pub.dev pub.dev is a public package repository and discovery service for the Dart (programming language) ecosystem and the Flutter (software)Flutter framework. It indexes, hosts metadata for, and serves packages published by individual developers, corporations, and open-source projects such as Firebase, AngularDart, Material Design, BLoC and others. The site integrates with tooling from Google and the broader open source community including projects related to GitHub, GitLab, Bitbucket, and continuous integration systems like Travis CI and GitHub Actions.

Overview

pub.dev functions as the central discovery portal for libraries and tools built for Dart (programming language) and Flutter (software), offering search, ranking, scorecards, and package pages for tens of thousands of packages. It provides metadata that is consumed by the Dart SDK's package manager, the pub client, and integrates with IDEs such as Visual Studio Code, Android Studio, and IntelliJ IDEA. The platform highlights popular packages, badges, and links to version control hosts like GitHub, promoting interoperability with ecosystems including Firebase, Google Cloud Platform, Amazon Web Services, and cross-platform technologies such as React Native and Xamarin as contextual comparisons.

History

The service emerged from efforts within Google to provide a unified package index for Dart (programming language), succeeding earlier community resources and mirrors used by projects tied to Dartium and the early Dart SDK tooling. pub.dev's public launch consolidated package discovery around a canonical registry during the maturation of Flutter (software) circa the late 2010s, coinciding with releases of Flutter 1.0, integrations with Android Studio and the rise of mobile frameworks alongside iOS, Android and web targets. Over time, governance and operational responsibilities have involved stakeholders from Google and community entities that contribute to Dart packages and ecosystem infrastructure.

Features and Functionality

The site provides full-text search, faceted filtering, and relevance ranking informed by metrics such as popularity, maintenance, and health. Each package page shows versions, changelogs, example code, license metadata (including MIT License, BSD and Apache License variants), and links to source repositories hosted on platforms like GitHub, GitLab, or Bitbucket. Integration points include the pub client, IDE plugins for Visual Studio Code and Android Studio, continuous integration hooks with GitHub Actions and Travis CI, and badge generation compatible with Shields.io and README standards popularized by projects such as Electron and Node.js. The UI and APIs are designed to surface information similar to registries such as npm, PyPI, and Maven Central for cross-ecosystem comparison.

Package Management and Publishing

Developers publish packages using the pub tool bundled with the Dart SDK, specifying metadata in files analogous to package.json used by Node.js or pom.xml used by Apache Maven. The publishing workflow encourages semantic versioning practices influenced by standards discussed in Semantic Versioning and integration with CI providers such as GitHub Actions and CircleCI for automated release pipelines. Source code is often hosted on GitHub or GitLab with contribution workflows following models like Forking model and Pull request patterns used across projects like Linux kernel and Kubernetes. Package pages display license information and link to issue trackers managed in repositories under organizations such as Google, Microsoft, IBM, Mozilla, and independent maintainers.

Security and Quality Metrics

pub.dev computes a package score composed of submetrics such as popularity, maintenance, and health modeled after principles used by registries like npm and security advisories referenced by CVE. Security guidance encourages use of signed artifacts, dependency auditing, and CI checks similar to practices advocated by OWASP and dependency scanning tools used by Snyk and Dependabot. Quality metrics derive from automated analysis comparable to linters such as dartfmt and tools employed in projects like Angular, React, and Vue.js to ensure API stability and documentation completeness. The registry also surfaces deprecated packages and versions, echoing deprecation workflows from systems like Maven Central and PyPI.

Usage and Community

The ecosystem encompasses packages maintained by individuals, startups, and large organizations including Google, Firebase, Microsoft, Amazon, and independent open-source projects. Community interaction occurs through channels such as GitHub Issues, discussion forums, mailing lists modeled on practices from Apache Software Foundation projects, and events like DartConf and Flutter Engage. Educational resources and tutorials produced by entities like Google Developers, community authors, and platform advocates reference packages indexed on the site when demonstrating integrations with Firebase, Cloud Functions, Serverless computing, and cross-platform UI patterns used in Material Design and Cupertino-style widgets.

Governance and Sponsorship

Operational responsibility and sponsorship involve Google as a primary steward, with contributions and feedback from the broader open source community, maintainers across repositories on GitHub and GitLab, and alignment with the Dart (programming language) team's roadmap. Community oversight patterns echo governance models used by organizations such as the Linux Foundation and the Apache Software Foundation, while sponsorship and ecosystem partnerships include cloud providers like Google Cloud Platform, Amazon Web Services, and integration partners such as Firebase and third-party tooling vendors.

Category:Software repositories