---
title: "Discussion on \"Dynamic theme color with Material 3 (You) in Flutter\" | Hashnode"
description: "Discussion on \"Dynamic theme color with Material 3 (You) in Flutter\". Introduction\nIn this blog post, we will enhance our app's theme to use dynamic colors taken from Material 3's OS-defined color scheme.\nIn Android 12, Material You, the third iteration of Material Design was introduced. One of the main features of Mat..."
url: "https://hashnode.com/posts/dynamic-theme-color-material-3-you-flutter/62c346a4c0401b3dcbcfe662"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dynamic theme color with Material 3 (You) in Flutter](https://dartling.dev/dynamic-theme-color-material-3-you-flutter?utm_source=hashnode&utm_medium=feed)

Introduction In this blog post, we will enhance our app's theme to use dynamic colors taken from Material 3's OS-defined color scheme. In Android 12, Material You, the third iteration of Material Design was introduced. One of the main features of Mat...

Jul 4, 2022 · 5 min read · dartling.dev  
Updated Nov 1, 2022  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#dart](https://hashnode.com/tag/dart)
-   [#material-design](https://hashnode.com/tag/material-design)
-   [#android](https://hashnode.com/tag/android)

## Written by

[Christos](https://hashnode.com/@yallurium)

@yallurium

  
[View profile](https://hashnode.com/@yallurium)

## Responses 2

Markdown supported · ⌘↵ to post

[M. Faiz Jatmiko](https://hashnode.com/@faizjatmiko)

[Feb 4, 2024](https://hashnode.com/posts/dynamic-theme-color-material-3-you-flutter/62c346a4c0401b3dcbcfe662/comment/65bed8377a2bf305cb8bb3bc)

hello, your writing is very interesting and good. may i know how you add 2 screenshot images and side by side on hashnode? Thank You

[Christos](https://hashnode.com/@yallurium)

[Feb 6, 2024](https://hashnode.com/posts/dynamic-theme-color-material-3-you-flutter/62c346a4c0401b3dcbcfe662/comment/65bed8377a2bf305cb8bb3bc#reply-65c1e53cb3abcf3203452f5e)

Hello, you can use a table for this:

```
<table>
<td>one</td>
<td>two</td>
</table>
```

[M. Faiz Jatmiko](https://hashnode.com/@faizjatmiko)

[Feb 6, 2024](https://hashnode.com/posts/dynamic-theme-color-material-3-you-flutter/62c346a4c0401b3dcbcfe662/comment/65bed8377a2bf305cb8bb3bc#reply-65c1e9c63cb616f11fb8f4dc)

waahh,,, thank you so much....

[Ulises Maldonado](https://hashnode.com/@lbux)

[Feb 8, 2023](https://hashnode.com/posts/dynamic-theme-color-material-3-you-flutter/62c346a4c0401b3dcbcfe662/comment/63e352a492c11fd8b26f151e)

Awesome writeup. I'm learning Flutter for a class project, and I used this to get my login page to use the themes. However, I am unsure if I will need to implement this on every page or if it will automatically use the theme set in the main file?

Currently I have three files: one is my main (that does the login page), a home page, and a settings page. I added the code to my login and home page but not to my settings page. My settings page is somehow utilizing the theme set in my home page file, and I'm unsure as to why lol

[Christos](https://hashnode.com/@yallurium)

[Feb 8, 2023](https://hashnode.com/posts/dynamic-theme-color-material-3-you-flutter/62c346a4c0401b3dcbcfe662/comment/63e352a492c11fd8b26f151e#reply-63e3542a4ef0c3d5fcd41c5b)

Because the theme data are passed as parameters in `MaterialApp`, the theme is consistent across your whole app, even when switching pages.

Hope that answers your question!

[Ulises Maldonado](https://hashnode.com/@lbux)

[Feb 8, 2023](https://hashnode.com/posts/dynamic-theme-color-material-3-you-flutter/62c346a4c0401b3dcbcfe662/comment/63e352a492c11fd8b26f151e#reply-63e3555992c11fd8b26f1599)

[Christos](https://hashnode.com/@yallurium) Woah! Thank you for the quick response! Yes, this makes sense. I'll make the appropriate changes.
