rowGap

open fun rowGap(value: ScaledValueProperty)

This function sets the row-gap property for all media devices.

It is recommended to use the predefined properties from the theme.

Example call:

rowGap { small }

Parameters

value

provide a value of type ScaledValueProperty that defines the gap of the row, recommended to use predefined values of the theme.

open fun rowGap(sm: ScaledValueProperty? = null, md: ScaledValueProperty? = null, lg: ScaledValueProperty? = null, xl: ScaledValueProperty? = null)

This function sets the row-gap property for each media device independently.

It is recommended to use the predefined properties from the theme.

Example call:

rowGap(
sm = { small },
lg = { large }
)

Parameters

sm

provide a value of type ScaledValueProperty that defines the gap of the row for extra large media devices, recommended to use predefined values of the theme.