Interface

ExternalPaddingScope

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

Source set: Common
@Deprecated(
    DeprecatedStyleScope,
    replaceWith = ReplaceWith(""),
    level = DeprecationLevel.WARNING,
)
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.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: