DynamicMaterialThemeState
State object that holds the current values for a dynamic material theme.
Use rememberDynamicMaterialThemeState to create an instance of this class.
Parameters
The initial seed color to generate the color scheme.
The initial dark mode state.
The initial Amoled state.
The initial palette style.
The initial contrast level.
The initial extended fidelity state.
A custom color to modify the primary color in the generated color scheme.
A custom color to modify the secondary color in the generated color scheme.
A custom color to modify the tertiary color in the generated color scheme.
A custom color to modify the neutral color in the generated color scheme.
A custom color to modify the neutral variant color in the generated color scheme.
A custom color to modify the error color in the generated color scheme.
Use this callback to modify the color scheme once it has been generated. Note that if you modify a color in the scheme, the on* color might not have enough contrast.
Properties
A MaterialKolors class that holds the generated colors based on the current state.
The generated color scheme based on the current state.
The contrast level.
The extended fidelity state.
Returns the Material 3 color scheme based on the current dynamic color scheme.
A custom color to modify the neutral variant color in the generated color scheme.
The palette style.