MaterialColorTone class

Constructors

MaterialColorTone(Color baseColor, Brightness brightness)

Properties

background Color
no setter
baseColor Color
final
brightness Brightness
final
error Color
no setter
errorContainer Color
no setter
hashCode int
The hash code for this object.
no setterinherited
onBackground Color
no setter
onError Color
no setter
onErrorContainer Color
no setter
onPrimary Color
no setter
onPrimaryContainer Color
no setter
onSecondary Color
no setter
onSecondaryContainer Color
no setter
onSurface Color
no setter
onSurfaceVaraiant Color
no setter
onTertiary Color
no setter
onTertiaryContainer Color
no setter
outline Color
no setter
palette → CorePalette
final
primary Color
no setter
primaryContainer Color
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondary Color
no setter
secondaryContainer Color
no setter
surface Color
no setter
surfaceVariant Color
no setter
tertiary Color
no setter
tertiaryContainer Color
no setter

Methods

errorTone(int tone) Color
neutralTone(int tone) Color
neutralVariantTone(int tone) Color
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
primaryTone(int tone) Color
secondaryTone(int tone) Color
tertiaryTone(int tone) Color
toString() String
A string representation of this object.
inherited

Operators

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