SchemeNeutral class

A Dynamic Color theme that is near grayscale.

Inheritance

Constructors

SchemeNeutral({required Hct sourceColorHct, required bool isDark, required double contrastLevel})

Properties

background int
no setterinherited
contrastLevel double
Value from -1 to 1. -1 represents minimum contrast, 0 represents standard (i.e. the design as spec'd), and 1 represents maximum contrast.
finalinherited
error int
no setterinherited
errorContainer int
no setterinherited
errorPalette TonalPalette
Given a tone, produces a reddish, colorful, color.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
inverseOnSurface int
no setterinherited
inversePrimary int
no setterinherited
inverseSurface int
no setterinherited
isDark bool
Whether or not the scheme is in 'dark mode' or 'light mode'.
finalinherited
neutralPalette TonalPalette
Given a tone, produces a color. Hue and chroma of the color are specified in the design specification of the variant. Usually not colorful at all, intended for background & surface colors.
finalinherited
neutralPaletteKeyColor int
no setterinherited
neutralVariantPalette TonalPalette
Given a tone, produces a color. Hue and chroma of the color are specified in the design specification of the variant. Usually not colorful, but slightly more colorful than Neutral. Intended for backgrounds & surfaces.
finalinherited
neutralVariantPaletteKeyColor int
no setterinherited
onBackground int
no setterinherited
onError int
no setterinherited
onErrorContainer int
no setterinherited
onPrimary int
no setterinherited
onPrimaryContainer int
no setterinherited
onPrimaryFixed int
no setterinherited
onPrimaryFixedVariant int
no setterinherited
onSecondary int
no setterinherited
onSecondaryContainer int
no setterinherited
onSecondaryFixed int
no setterinherited
onSecondaryFixedVariant int
no setterinherited
onSurface int
no setterinherited
onSurfaceVariant int
no setterinherited
onTertiary int
no setterinherited
onTertiaryContainer int
no setterinherited
onTertiaryFixed int
no setterinherited
onTertiaryFixedVariant int
no setterinherited
outline int
no setterinherited
outlineVariant int
no setterinherited
primary int
no setterinherited
primaryContainer int
no setterinherited
primaryFixed int
no setterinherited
primaryFixedDim int
no setterinherited
primaryPalette TonalPalette
Given a tone, produces a color. Hue and chroma of the color are specified in the design specification of the variant. Usually colorful.
finalinherited
primaryPaletteKeyColor int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrim int
no setterinherited
secondary int
no setterinherited
secondaryContainer int
no setterinherited
secondaryFixed int
no setterinherited
secondaryFixedDim int
no setterinherited
secondaryPalette TonalPalette
Given a tone, produces a color. Hue and chroma of the color are specified in the design specification of the variant. Usually less colorful.
finalinherited
secondaryPaletteKeyColor int
no setterinherited
shadow int
no setterinherited
sourceColorArgb int
The source color of the theme as an ARGB integer.
finalinherited
sourceColorHct Hct
The source color of the theme in HCT.
finalinherited
surface int
no setterinherited
surfaceBright int
no setterinherited
surfaceContainer int
no setterinherited
surfaceContainerHigh int
no setterinherited
surfaceContainerHighest int
no setterinherited
surfaceContainerLow int
no setterinherited
surfaceContainerLowest int
no setterinherited
surfaceDim int
no setterinherited
surfaceTint int
no setterinherited
surfaceVariant int
no setterinherited
tertiary int
no setterinherited
tertiaryContainer int
no setterinherited
tertiaryFixed int
no setterinherited
tertiaryFixedDim int
no setterinherited
tertiaryPalette TonalPalette
Given a tone, produces a color. Hue and chroma of the color are specified in the design specification of the variant. Usually a different hue from primary and colorful.
finalinherited
tertiaryPaletteKeyColor int
no setterinherited
variant Variant
The variant, or style, of the theme.
finalinherited

Methods

getArgb(DynamicColor dynamicColor) int
inherited
getHct(DynamicColor dynamicColor) Hct
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