style

italic

family

RobotoMono

fonts

asset

fonts/RobotoMono-Regular.ttf

asset

fonts/RobotoMono-Bold.ttf

weight

700

pubspec.yaml option definitions

The family determines the name of the font, which you use in the
fontFamily property of a TextStyle object.

The asset is a path to the font file,
relative to the pubspec.yaml file.
These files contain the outlines for the glyphs in the font.
When building the app,
these files are included in the app’s asset bundle.

A single font can reference many different files with different
outline weights and styles: