🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

ExternalPaddingScope

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

Source set: Common
public interface ExternalPaddingScope

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

Functions

externalPaddingStart

Source set: Common
public fun externalPaddingStart(value: Dp)

Sets the external padding for the start edge of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is not inherited

Parameters

value The amount of padding to apply to the start edge.

externalPaddingEnd

Source set: Common
public fun externalPaddingEnd(value: Dp)

Sets the external padding for the end edge of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is not inherited

Parameters

value The amount of padding to apply to the end edge.

externalPaddingTop

Source set: Common
public fun externalPaddingTop(value: Dp)

Sets the external padding for the top edge of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is not inherited

Parameters

value The amount of padding to apply to the top edge.

externalPaddingBottom

Source set: Common
public fun externalPaddingBottom(value: Dp)

Sets the external padding for the bottom edge of the component. The external padding is the space between the edge of the component and its border (if any). The width/height of the component includes external padding.

This property is not inherited

Parameters

value The amount of padding to apply to the bottom edge.

Content updated: