ZetaSpacing class Theme
Tokens that are used for spacing.
Values are doubles, and can be used for padding, margins and other spacings.
Semantic zeta spacings.
- Annotations
-
- @Deprecated('Use Zeta.of(context).spacing instead ' 'This has been deprecated as of 0.16.0')
Constructors
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
- b → const double
- 16dp space.
- l → const double
- 32dp space.
- large → const double
- Large spacing => 16px.
- m → const double
- 24dp space.
- medium → const double
- Medium spacing => 12px.
- minimum → const double
- Minimum spacing => 4px.
- none → const double
- No spacing => 0px.
- s → const double
- 12dp space.
- small → const double
- Small spacing => 8px.
- spacingBaseMultiplier → const double
- Base multiplier used to calculate spacing values.
- x0_5 → const double
- 2dp space.
- x1 → const double
- 4dp space.
- x2 → const double
- 8dp space.
- x2_5 → const double
- 10dp space.
- x3 → const double
- 12dp space.
- x3_5 → const double
- 14dp space.
- x4 → const double
- 16dp space.
- x5 → const double
- 20dp space.
- x6 → const double
- 24dp space.
- x7 → const double
- 28dp space.
- x7_5 → const double
- 30dp space.
- x8 → const double
- 32dp space.
- x9 → const double
- 36dp space.
- x10 → const double
- 40dp space.
- x11 → const double
- 44dp space.
- x12 → const double
- 48dp space.
- x13 → const double
- 52dp Space.
- x14 → const double
- 56dp Space.
- x16 → const double
- 64dp space.
- x20 → const double
- 80dp space.
- x24 → const double
- 96dp space.
- x30 → const double
- 120dp space
- x50 → const double
- 200dp space
- xl → const double
- 64dp space.
- xl_1 → const double
- 1xl spacing => 20px.
- xl_2 → const double
- 2xl spacing => 24px.
- xl_3 → const double
- 3xl spacing => 28px.
- xl_4 → const double
- 4xl spacing => 32px.
- xl_5 → const double
- 5xl spacing => 36px.
- xl_6 → const double
- 6xl spacing => 40px.
- xl_7 → const double
- 7xl spacing => 44px.
- xl_8 → const double
- 8xl spacing => 48px.
- xl_9 → const double
- 9xl spacing => 64px.
- xl_10 → const double
- 10xl spacing => 80px.
- xl_11 → const double
- 11xl spacing => 96px
- xs → const double
- 8dp space.
- xxl → const double
- 80dp space.
- xxs → const double
- 4dp space.
- xxxl → const double
- 96dp space.