Skip to main content
← Chapter 8: Assets Lesson 8.2

Fonts

Fonts are a great way to improve the look of your app. Flutter allows you to use custom fonts in your app.

Projects

1. Your Name in Two Different Custom Fonts

Create a new Flutter project and add two custom fonts to it. Display your name in each of the two fonts.

Hint: You can download free fonts from Google Fonts

2. Font in Themes

Create a new Flutter project and add two custom fonts to it. Change the app’s theme so that headlines use one of the two fonts and body text uses the other (hint: TextTheme styles such as headlineMedium and bodyMedium). Then create a simple layout with a headline and an article.

3. Quotes App

Create the following user interface that displays quotes from famous people. The quote and the author’s name should be written in different fonts.

Quotes UI

Resources