Set a font as the default You have two options for how to apply fonts to text: as the default font or only within specific widgets. To use a font as the default, set the fontFamily property as part of the app’s theme . The value provided to fontFamily must match the family name declared in the pubspec. yaml .7 Eki 2020