After downloading, we need to add the font files to our Flutter project. Create a folder named fonts in the root of the Flutter project. Next, move the Montserrat font files or . ttf files into the fonts folder that you just created .3 Kas 2021
Read moreWhat font does flutter use?
The default font of MaterialApp is roboto , a Google font.
Read moreHow do I change the font on my text flutter?
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
Read more