17 lines
533 B
Dart
17 lines
533 B
Dart
/// Spacing scale used across the app. Plain constants rather than a
|
|
/// [ThemeExtension] — spacing doesn't change between light/dark, so there's
|
|
/// no lerp behavior to gain from routing it through the theme mechanism.
|
|
abstract final class Spacing {
|
|
static const xs = 4.0;
|
|
static const sm = 8.0;
|
|
static const md = 12.0;
|
|
static const lg = 16.0;
|
|
static const xl = 20.0;
|
|
static const xxl = 28.0;
|
|
static const xxxl = 40.0;
|
|
|
|
static const radiusSm = 6.0;
|
|
static const radiusMd = 8.0;
|
|
static const radiusLg = 10.0;
|
|
}
|