DynamicMaterialThemeState
State object that holds the current values for a dynamic material theme.
Use rememberDynamicMaterialThemeState to create an instance of this class.
Parameters
initialSeedColor
The initial seed color to generate the color scheme.
initialIsDark
The initial dark mode state.
initialIsAmoled
The initial Amoled state.
initialStyle
The initial palette style.
initialContrastLevel
The initial contrast level.
initialExtendedFidelity
The initial extended fidelity state.
modifyColorScheme
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.