ExpressiveShapeTokens class
Semantic, role-keyed shape tokens built on ExpressiveRadius.
Material 3 Expressive leans on shape to carry hierarchy and brand. Mapping component roles to a small shared set of shapes — rather than ad-hoc radii at call sites — keeps the look consistent. Aim for one bold radius per screen: a hero sheet OR a button pill, not both competing.
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
Constants
- CTAs / filled buttons — the expressive pill.
- card → const RoundedRectangleBorder
- Cards, list rows.
- chip → const RoundedRectangleBorder
- Chips / segmented controls at rest (selected state morphs larger).
- field → const RoundedRectangleBorder
- Inputs / small containers.
- sheet → const RoundedRectangleBorder
- Hero surfaces — dialogs, fully-rounded sheets.
- sheetTop → const RoundedRectangleBorder
- Top-rounded variant for docked / bottom-anchored sheets.