yschimke
11/04/2021, 2:23 PMAlex Vanyo
11/04/2021, 5:39 PMyschimke
11/04/2021, 9:20 PMAlex Vanyo
11/04/2021, 9:50 PMMaterialTheme
at any point in your Compose hierarchy, and then all children within that will use the modified theme.
So rather than having a large amount of slightly different `MaterialTheme`s floating around where any of them could be used, there’s always a single MaterialTheme
at any given point in the hierarchy.
This also allows for some powerful things, like animated derivative theme’s like Jetcaster
does:
https://github.com/android/compose-samples/blob/main/Jetcaster/app/src/main/java/com/example/jetcaster/util/DynamicTheming.ktyschimke
11/05/2021, 6:58 AM