Function

externalPaddingVertical

Sets the external padding for the vertical (start and end) edges of the component.

externalPaddingVertical

Source set: Common
@Deprecated(
    DeprecatedStyleProperty,
    replaceWith = ReplaceWith(""),
    level = DeprecationLevel.WARNING,
)
public fun ExternalPaddingScope.externalPaddingVertical(value: Dp)

Sets the external padding for the vertical (start and end) edges 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 both top and bottom edges.
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: