4-point spacing scale used by every Chico layout and control.
Values are logical pixels. Prefer these constants over raw numbers so padding stays consistent and can later scale from ChicoMediaData.paddingScale.
Padding(
padding: const EdgeInsets.all(ChicoSpace.space16),
child: child,
)
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
- space2 → const double
- 2 logical pixels. Hairline insets, icon optical alignment.
- space4 → const double
- 4 logical pixels. Tight gaps inside compact controls.
- space8 → const double
- 8 logical pixels. Default inner gap (icon-to-label).
- space12 → const double
- 12 logical pixels. Compact control padding.
- space16 → const double
- 16 logical pixels. Default page and control padding.
- space20 → const double
- 20 logical pixels. Comfortable control padding.
- space24 → const double
- 24 logical pixels. Section spacing on compact screens.
- space32 → const double
- 32 logical pixels. Section spacing on regular screens.
- space40 → const double
- 40 logical pixels. Large block separation.
- space48 → const double
- 48 logical pixels. Page-level vertical rhythm.