Skip to content

Glossary: Flutter

theme

Also written: ThemeData, ThemeMode, Theme.of(context), darkTheme

The colors and text styles the whole app uses, set in `MaterialApp` with `ThemeData`. `ThemeMode.system` follows the phone's light or dark setting, and `Theme.of(context)` reads it.

Where the book teaches it

Related terms

color schemeMaterial Design