ExpressiveSpacing class
Spacing scale — the 8dp Material 3 grid. Widgets read from here rather than inlining raw numeric literals.
The t-shirt names map onto M3's md.sys.measurement.space* ladder
(spaceN = (N/100) × 8dp, baseline space100 = 8):
| Token | dp | M3 token |
|---|---|---|
xxs |
2 | space25 |
xs |
4 | space50 |
sm |
8 | space100 (baseline) |
md |
12 | space150 |
lg |
16 | space200 |
xl |
24 | space300 |
xxl |
32 | space400 |
xxxl |
48 | space600 |
M3 spacing categories: padding (inside an element), gap (between
elements), margin (outside; reach for it last). Use
insetAll/insetSymmetric/insetOnly (directional) over
EdgeInsets.only(left/right) so leading/trailing swap correctly in RTL.
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