vertical

fun vertical(value: ScaledValueProperty)

This function is used to set the vertical padding or margin according to the passed SpacesContext.topKey and SpacesContext.bottomKey value like `margin-top` and ``margin-bottom`.

example call:

margins {
vertical { normal }
}

Parameters

value

extension function parameter to bring the predefined space values of the theme into the scope of the functional expression