pubspec
pubspec is the metadata file used by Dart and Flutter projects to describe a package, its dependencies, and related configuration. The file, named pubspec.yaml, is located at the project root and is managed by the Dart package manager (pub) and tooling. It informs pub how to resolve and fetch dependencies and provides information relevant to publishing the package.
The file is written in YAML and typically includes fields such as name, version, and description to
When changes are made to pubspec.yaml, developers run pub get (or dart pub get, or flutter pub
Example (illustrative, not exhaustive):
description: A sample Dart package
Pubspec serves as the central source of package metadata and dependency configuration for Dart and Flutter