ColorSpec2026 class

ColorSpec implementation for the 2026 spec.

Inheritance

Constructors

ColorSpec2026()
const

Properties

background → DynamicColor
no setterinherited
controlActivated → DynamicColor
no setterinherited
controlHighlight → DynamicColor
no setterinherited
controlNormal → DynamicColor
no setterinherited
error → DynamicColor
no setterinherited
errorContainer → DynamicColor
no setterinherited
errorDim → DynamicColor
no setterinherited
errorPaletteKeyColor → DynamicColor
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
inverseOnSurface → DynamicColor
no setterinherited
inversePrimary → DynamicColor
no setterinherited
inverseSurface → DynamicColor
no setterinherited
neutralPaletteKeyColor → DynamicColor
no setterinherited
neutralVariantPaletteKeyColor → DynamicColor
no setterinherited
onBackground → DynamicColor
no setterinherited
onError → DynamicColor
no setterinherited
onErrorContainer → DynamicColor
no setterinherited
onPrimary → DynamicColor
no setterinherited
onPrimaryContainer → DynamicColor
no setterinherited
onPrimaryFixed → DynamicColor
no setterinherited
onPrimaryFixedVariant → DynamicColor
no setterinherited
onSecondary → DynamicColor
no setterinherited
onSecondaryContainer → DynamicColor
no setterinherited
onSecondaryFixed → DynamicColor
no setterinherited
onSecondaryFixedVariant → DynamicColor
no setterinherited
onSurface → DynamicColor
no setterinherited
onSurfaceVariant → DynamicColor
no setterinherited
onTertiary → DynamicColor
no setterinherited
onTertiaryContainer → DynamicColor
no setterinherited
onTertiaryFixed → DynamicColor
no setterinherited
onTertiaryFixedVariant → DynamicColor
no setterinherited
outline → DynamicColor
no setterinherited
outlineVariant → DynamicColor
no setterinherited
primary → DynamicColor
no setterinherited
primaryContainer → DynamicColor
no setterinherited
primaryDim → DynamicColor
no setterinherited
primaryFixed → DynamicColor
no setterinherited
primaryFixedDim → DynamicColor
no setterinherited
primaryPaletteKeyColor → DynamicColor
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrim → DynamicColor
no setterinherited
secondary → DynamicColor
no setterinherited
secondaryContainer → DynamicColor
no setterinherited
secondaryDim → DynamicColor
no setterinherited
secondaryFixed → DynamicColor
no setterinherited
secondaryFixedDim → DynamicColor
no setterinherited
secondaryPaletteKeyColor → DynamicColor
no setterinherited
shadow → DynamicColor
no setterinherited
surface → DynamicColor
no setterinherited
surfaceBright → DynamicColor
no setterinherited
surfaceContainer → DynamicColor
no setterinherited
surfaceContainerHigh → DynamicColor
no setterinherited
surfaceContainerHighest → DynamicColor
no setterinherited
surfaceContainerLow → DynamicColor
no setterinherited
surfaceContainerLowest → DynamicColor
no setterinherited
surfaceDim → DynamicColor
no setterinherited
surfaceTint → DynamicColor
no setterinherited
surfaceVariant → DynamicColor
no setterinherited
tertiary → DynamicColor
no setterinherited
tertiaryContainer → DynamicColor
no setterinherited
tertiaryDim → DynamicColor
no setterinherited
tertiaryFixed → DynamicColor
no setterinherited
tertiaryFixedDim → DynamicColor
no setterinherited
tertiaryPaletteKeyColor → DynamicColor
no setterinherited
textHintInverse → DynamicColor
no setterinherited
textPrimaryInverse → DynamicColor
no setterinherited
textPrimaryInverseDisableOnly → DynamicColor
no setterinherited
textSecondaryAndTertiaryInverse → DynamicColor
no setterinherited
textSecondaryAndTertiaryInverseDisabled → DynamicColor
no setterinherited

Methods

getErrorPalette(TonalPaletteSourceColor sourceColor, Variant variant, bool isDark, double contrastLevel, Platform platform, SpecVersion specVersion) → TonalPalette
override
getHct(DynamicScheme scheme, DynamicColor color) → Hct
inherited
getNeutralPalette(TonalPaletteSourceColor sourceColor, Variant variant, bool isDark, double contrastLevel, Platform platform, SpecVersion specVersion) → TonalPalette
override
getNeutralVariantPalette(TonalPaletteSourceColor sourceColor, Variant variant, bool isDark, double contrastLevel, Platform platform, SpecVersion specVersion) → TonalPalette
override
getPrimaryPalette(TonalPaletteSourceColor sourceColor, Variant variant, bool isDark, double contrastLevel, Platform platform, SpecVersion specVersion) → TonalPalette
override
getSecondaryPalette(TonalPaletteSourceColor sourceColor, Variant variant, bool isDark, double contrastLevel, Platform platform, SpecVersion specVersion) → TonalPalette
override
getTertiaryPalette(TonalPaletteSourceColor sourceColor, Variant variant, bool isDark, double contrastLevel, Platform platform, SpecVersion specVersion) → TonalPalette
override
getTone(DynamicScheme scheme, DynamicColor color) → double
inherited
highestSurface(DynamicScheme scheme) → DynamicColor
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited