Building a Flutter SDK Part 2: A Deep Dive Into pub.dev

Table of Contents
Introduction
Building a Flutter SDK is a series that guides developers on creating Flutter packages and SDKs from the ground up. Managing dependencies is a critical aspect of app development, and pub.dev serves as the official package repository for Dart and Flutter. This article delves into understanding the metrics and scoring system of pub.dev packages.
Package Scores on pub
Pub.dev uses a scoring system comprising package metrics and community likes to evaluate the quality of packages. The metrics displayed include like count, pub points, and other package-specific data. Understanding these metrics is crucial for developers to assess the reliability and functionality of a package before integration.
Pub Points Metric
Pub points are automated scores assigned to packages based on specific criteria set by the Flutter team at Google. Meeting certain qualities such as following Dart conventions, having valid metadata, and open-source licensing contributes to a package's pub points. These points provide insights into the package's adherence to best practices and increase its credibility in the Flutter ecosystem.