ColorScheme

constructor(primary: Color, onPrimary: Color, primaryContainer: Color, onPrimaryContainer: Color, inversePrimary: Color, secondary: Color, onSecondary: Color, secondaryContainer: Color, onSecondaryContainer: Color, tertiary: Color, onTertiary: Color, tertiaryContainer: Color, onTertiaryContainer: Color, background: Color, onBackground: Color, surface: Color, onSurface: Color, surfaceVariant: Color, onSurfaceVariant: Color, surfaceTint: Color, inverseSurface: Color, inverseOnSurface: Color, error: Color, onError: Color, errorContainer: Color, onErrorContainer: Color, outline: Color, outlineVariant: Color, scrim: Color, surfaceBright: Color, surfaceDim: Color, surfaceContainer: Color, surfaceContainerHigh: Color, surfaceContainerHighest: Color, surfaceContainerLow: Color, surfaceContainerLowest: Color)


constructor(primary: Color, onPrimary: Color, primaryContainer: Color, onPrimaryContainer: Color, inversePrimary: Color, secondary: Color, onSecondary: Color, secondaryContainer: Color, onSecondaryContainer: Color, tertiary: Color, onTertiary: Color, tertiaryContainer: Color, onTertiaryContainer: Color, background: Color, onBackground: Color, surface: Color, onSurface: Color, surfaceVariant: Color, onSurfaceVariant: Color, surfaceTint: Color, inverseSurface: Color, inverseOnSurface: Color, error: Color, onError: Color, errorContainer: Color, onErrorContainer: Color, outline: Color, outlineVariant: Color, scrim: Color)

Deprecated

Use constructor with additional 'surfaceContainer' roles.

Replace with

ColorScheme(primary,
onPrimary,
primaryContainer,
onPrimaryContainer,
inversePrimary,
secondary,
onSecondary,
secondaryContainer,
onSecondaryContainer,
tertiary,
onTertiary,
tertiaryContainer,
onTertiaryContainer,
background,
onBackground,
surface,
onSurface,
surfaceVariant,
onSurfaceVariant,
surfaceTint,
inverseSurface,
inverseOnSurface,
error,
onError,
errorContainer,
onErrorContainer,
outline,
outlineVariant,
scrim,
surfaceBright,
surfaceDim,
surfaceContainer,
surfaceContainerHigh,
surfaceContainerHighest,
surfaceContainerLow,
surfaceContainerLowest,)