DynamicMaterialExpressiveTheme
A wrapper around MaterialExpressiveTheme that adapts to the given DynamicMaterialThemeState.seedColor.
The style defaults to the PaletteStyle.Expressive, and the specVersion defaults to the ColorSpec.SpecVersion.SPEC_2025. You can access the current seed color via LocalDynamicMaterialThemeSeed.
Parameters
The seed color to use for generating the color scheme.
The motion scheme of the theme.
Whether to use a dark theme or not.
Whether the dark scheme is used with Amoled screen (Pure dark).
The custom primary color of the color scheme.
The custom secondary color of the color scheme.
The custom tertiary color of the color scheme.
The custom neutral color of the color scheme.
The custom neutral variant color of the color scheme.
The custom error color of the color scheme.
The style of the color scheme.
The contrast level of the color scheme.
The spec version of the color scheme.
The platform of the color scheme.
The shapes of the theme.
The typography of the 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.
See also
A wrapper around MaterialExpressiveTheme that adapts to the given DynamicMaterialThemeState.seedColor.
The style defaults to the PaletteStyle.Expressive, and the specVersion defaults to the ColorSpec.SpecVersion.SPEC_2025. You can access the current seed color via LocalDynamicMaterialThemeSeed.
Parameters
The primary color of the color scheme.
The motion scheme of the theme.
Whether to use a dark theme or not.
Whether the dark scheme is used with Amoled screen (Pure dark).
The custom secondary color of the color scheme.
The custom tertiary color of the color scheme.
The custom neutral color of the color scheme.
The custom neutral variant color of the color scheme.
The custom error color of the color scheme.
The style of the color scheme.
The contrast level of the color scheme.
The spec version of the color scheme.
The platform of the color scheme.
The shapes of the theme.
The typography of the 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.
See also
A wrapper around MaterialExpressiveTheme that adapts to the given DynamicMaterialThemeState.seedColor.
You can access the current seed color via LocalDynamicMaterialThemeSeed.
Note: For best results, you should use ColorSpec.SpecVersion.SPEC_2025 and PaletteStyle.Expressive when constructing the DynamicMaterialThemeState.
Parameters
The state of the dynamic material theme.
The motion scheme to use.
The shapes to use.
The typography to use.
Whether to animate the color scheme or not.
The animation spec to use for animating the color scheme.
The Composable content of the theme.