DynamicMaterialTheme
A Material Theme that adapts to the given seed color.
You can access the current seed color via LocalDynamicMaterialThemeSeed.
Parameters
The seed color to use for generating the color scheme.
Whether to use a dark theme or not.
Whether the dark scheme is used with Amoled screen (Pure dark).
The style of the color scheme.
The contrast level of the color scheme.
Whether to use the extended fidelity color set. See MaterialDynamicColors.
Whether to animate the color scheme or not.
The animation spec to use for animating the color scheme.
The Composable content of the theme.
See also
A Material Theme that adapts to the given DynamicMaterialThemeState.seedColor.
You can access the current seed color via LocalDynamicMaterialThemeSeed.
Parameters
The state of the dynamic material theme.
Whether to animate the color scheme or not.
The animation spec to use for animating the color scheme.
The Composable content of the theme.