ExpressiveBakedColors class

Every colour role of one theme, light and dark, by role name (ExpressiveColorRole.name, onSurfaceVariant), as ARGB.

Annotations

Constructors

ExpressiveBakedColors({required Map<String, int> light, required Map<String, int> dark, Map<String, int> statusLight = const <String, int>{}, Map<String, int> statusDark = const <String, int>{}, Map<String, ExpressiveBakedColors> atContrast = const <String, ExpressiveBakedColors>{}})
Baked colours of the light and dark roles, with variants atContrast.
const

Properties

atContrast → Map<String, ExpressiveBakedColors>
The same seed and variant baked at each other contrast level the baker allows, keyed by _contrastKey ('0', '0.5', '1'); the theme's own contrast is light and dark. Empty for Compose's baseline, which has no contrast variants. The oracle captures a baked theme at contrast 0 and 1 through expressiveResolveColors' contrast.
final
dark → Map<String, int>
Every role in dark. Generated, never an inversion of light.
final
hashCode → int
The hash code for this object.
no setterinherited
light → Map<String, int>
Every role in light.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statusDark → Map<String, int>
The status tones in dark. Baked, never an inversion of statusLight.
final
statusLight → Map<String, int>
The status tones in light (success, onSuccess, successContainer, onSuccessContainer and the same for warning): Material custom colours, never roles. Empty when the theme was baked without them.
final

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