Flutter and the pubspec file

Tools

Flutter and the pubspec file

Assets

Fonts

More information

Note:
  This page is primarily aimed at folks who write
  Flutter apps. If you write packages or plugins, 
  (perhaps you want to create a federated plugin),
  you should check out the
  Developing packages and plugins page.

Every Flutter project includes a pubspec.yaml file,
often referred to as the pubspec.
A basic pubspec is generated when you create
a new Flutter project. It’s located at the top
of the project tree and contains metadata about
the project that the Dart and Flutter tooling
needs to know. The pubspec is written in
YAML, which is human readable, but be aware
that white space (tabs v spaces) matters.