Known direct subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


An interface that introduces the layout properties to a Style receiver scope.

See also
StyleScope

Summary

Inherited functions

From androidx.compose.foundation.style.ContentPaddingScope
Unit

Sets the padding for the bottom edge of the component's content.

Cmn
Unit

Sets the padding for the end edge of the component's content.

Cmn
Unit

Sets the padding for the start edge of the component's content.

Cmn
Unit

Sets the padding for the top edge of the component's content.

Cmn
From androidx.compose.foundation.style.ExternalPaddingScope
Unit

Sets the external padding for the bottom edge of the component.

Cmn
Unit

Sets the external padding for the end edge of the component.

Cmn
Unit

Sets the external padding for the start edge of the component.

Cmn
Unit

Sets the external padding for the top edge of the component.

Cmn
From androidx.compose.foundation.style.MaxSizeScope
Unit
maxHeight(value: Dp)

Constrains the maximum height of the component.

Cmn
Unit
maxWidth(value: Dp)

Constrains the maximum width of the component.

Cmn
From androidx.compose.foundation.style.MinSizeScope
Unit
minHeight(value: Dp)

Constrains the minimum height of the component.

Cmn
Unit
minWidth(value: Dp)

Constrains the minimum width of the component.

Cmn
From androidx.compose.foundation.style.PositionScope
Unit
bottom(value: Dp)

Offsets the component vertically from its original calculated bottom position.

Cmn
Unit
left(value: Dp)

Offsets the component horizontally from its original calculated left position.

Cmn
Unit
right(value: Dp)

Offsets the component horizontally from its original calculated right position.

Cmn
Unit
top(value: Dp)

Offsets the component vertically from its original calculated top position.

Cmn
From androidx.compose.foundation.style.SizeScope
Unit
height(fraction: @FloatRange(from = 0.0, to = 1.0) Float)

Sets the height of the component to a fraction of the parent's available height.

Cmn
Unit
height(value: Dp)

Sets the preferred height of the component.

Cmn
Unit
width(fraction: @FloatRange(from = 0.0, to = 1.0) Float)

Sets the width of the component to a fraction of the parent's available width.

Cmn
Unit
width(value: Dp)

Sets the preferred width of the component.

Cmn