spacing property

SpacingUnit get spacing

Converts a double value to a fixed SpacingUnit.

Creates a spacing unit with an absolute pixel value. This is useful for defining gaps and padding with fixed sizes.

Implementation

SpacingUnit get spacing => SpacingUnit.fixed(this);