Introduction

In this section, you'll learn the basics of Flutter themes and how to use it to style apps

We'll cover the following

Introduction

In this lesson, we’ll see how to create and use Flutter themes for the profile page created in previous lessons.

What is Flutter theme

Flutter theme is used to define application-wide stylings like colors, fonts, and text.

There are two ways to implement themes in Flutter:

  • Global Theme: Styling throughout the application. Later, we’ll define the global theme to style the Profile Page developed in the last chapter.

  • Local Theme: Styling a specific widget. We’ll use the local theme to style one part of the Profile Page - “Profile Actions” section to demonstrate local themes in action.

In the next lesson, you’ll take a deep dive into using Global theme.