Besides listing the images that are included in the
app package, an image asset can also refer to one or more
resolution-specific “variants”. For more information,
see the resolution aware section of the
Assets and images page.
For information on adding assets from package
dependencies, see the
asset images in package dependencies
section in the same page.

Fonts

As shown in the above example,
each entry in the fonts section should have a
family key with the font family name,
and a fonts key with a list specifying the
asset and other descriptors for the font.

For examples of using fonts
see the Use a custom font and
Export fonts from a package recipes in the
Flutter cookbook.

More information

For more information on packages, plugins,
and pubspec files, see the following:

Creating packages on dart.dev

Glossary of package terms on dart.dev

Package dependencies on dart.dev

Using packages