Google Fonts Add and hot reload any font from Google Fonts

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Get Unlimited PRO Access

OR


*Enrollment provides full access to this course (and updates) for life.

Add the Google Fonts package to your pubspec.yaml file.

Customize the Global Font

file_type_flutter theme.dart
import 'package:google_fonts/google_fonts.dart';

var appTheme = ThemeData(
  fontFamily: GoogleFonts.nunito().fontFamily,
  // ...
);

Q&A Chat