spacing property

Map<String, double> spacing
final

The spacing scale: gaps and paddings by name ({"1": 4, "2": 8, "3": 12} or {"sm": 8, "md": 16}), read as ${theme.spacing.md}. Flutter has no spacing token; a design system names its steps here.

Implementation

final Map<String, double> spacing;