ExpressiveBakedTheme class
One theme as generated: its theme.json record and each foundation's
part.
- Annotations
Constructors
- ExpressiveBakedTheme({required String id, required int seed, required String variant, required double contrast, required String expression, required String? source, required ExpressiveBakedColors colors, required ExpressiveBakedTextTheme type, required ExpressiveBakedShapes shapes, required ExpressiveBakedMotion motion})
-
A baked theme with the given record and foundation parts.
const
Properties
- colors → ExpressiveBakedColors
-
Every colour role, light and dark (w1-color).
final
- contrast → double
-
The contrast level: 0, 0.5 or 1.
final
- expression → String
-
The expression budget:
calm,balancedorbold.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The theme's id: its
themes/<id>/directory, and its preset name.final - motion → ExpressiveBakedMotion
-
The motion part: the scheme (w1-motion).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seed → int
-
The seed colour, ARGB.
final
- shapes → ExpressiveBakedShapes
-
The shape scale's part (w1-shape).
final
- source → String?
-
Where the colours come from when not from the baker —
compose-baseline, Compose's own default scheme — or null.final - type → ExpressiveBakedTextTheme
-
The type scale's part (w1-type).
final
- variant → String
-
The dynamic-scheme variant:
tonalSpot,neutral,vibrantorexpressive.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