SchemeMonochrome class

A Dynamic Color theme that is grayscale.

Inheritance

Constructors

SchemeMonochrome({required Hct sourceColorHct, required bool isDark, required double contrastLevel = 0.0})

Properties

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
errorPalette TonalPalette
Given a tone, produces a reddish, colorful, color.
finalinherited
hashCode int
The hash code for this object.
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
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
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
runtimeType Type
A representation of the runtime type of the object.
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
sourceColorArgb int
The source color of the theme as an ARGB integer.
finalinherited
sourceColorHct Hct
The source color of the theme in HCT.
finalinherited
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
variant Variant
The variant, or style, of the theme.
finalinherited

Methods

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