SPSpacingTokens class
Spacing scale used by Sixplace theme tokens.
- Annotations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lg → double
-
Large spacing.
final
- md → double
-
Medium spacing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sm → double
-
Small spacing.
final
- xl → double
-
Extra-large spacing.
final
- xs → double
-
Extra-small spacing.
final
- xxl → double
-
Largest default spacing token.
final
Methods
-
copyWith(
{double? xs, double? sm, double? md, double? lg, double? xl, double? xxl}) → SPSpacingTokens - Returns a copy with selected values replaced.
-
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
Static Methods
-
lerp(
SPSpacingTokens a, SPSpacingTokens b, double t) → SPSpacingTokens - Linearly interpolates between two spacing scales.