Named contrast levels for Material 3 color schemes.
Material 3 baseline color schemes provide standard, medium, and high
contrast levels. When the colorSchemeSeed parameter of the ThemeData
constructor is null, use standard, medium, or high to select a
token-backed baseline color scheme with that contrast level.
A custom double between -1.0 and 1.0 can also be passed as the
contrastLevel parameter of the ThemeData constructor when
colorSchemeSeed is provided, in which case the value is passed to
ColorScheme.fromSeed.
See also:
- ColorScheme.fromSeed, which generates a color scheme from a seed color, brightness, and contrast level.
- m3.material.io/styles/color/system/overview, the Material 3 color system overview.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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