AtomixSpacing class

Atomix Design System spacing scale.

Provides a consistent spacing system based on a 4px grid. Use these values for padding, margin, and gap properties.

Example:

Padding(
  padding: EdgeInsets.all(AtomixSpacing.md),
  child: Text('Hello'),
)

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

huge → const double
48px - Huge spacing
lg → const double
20px - Medium-large spacing
md → const double
16px - Medium spacing (default)
sm → const double
12px - Small spacing
xHuge → const double
64px - Extra huge spacing
xl → const double
24px - Extra large spacing
xs → const double
8px - Extra small spacing
xxl → const double
32px - Extra extra large spacing
xxs → const double
4px - Extra extra small spacing
xxxl → const double
40px - Extra extra extra large spacing