spacing property
SpacingUnit
get
spacing
Converts an int 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(toDouble());