flutter montserrat google font code example
Example 1: flutter googlefonts.
Text(
'This is Google Fonts',
style: GoogleFonts.lato(
textStyle: Theme.of(context).textTheme.display1,
fontSize: 48,
fontWeight: FontWeight.w700,
fontStyle: FontStyle.italic,
),
),
Example 2: google_fonts pub.de
dependencies:
google_fonts: ^1.1.1