Function

LayerOutsets

Creates a LayerOutsets with the same value for all sides.

LayerOutsets

Source set: Common
public fun LayerOutsets(all: Dp): LayerOutsets

Creates a LayerOutsets with the same value for all sides.

LayerOutsets

Source set: Common
public fun LayerOutsets(vertical: Dp, horizontal: Dp): LayerOutsets

Creates a LayerOutsets where the horizontal value is applied to the left and right, and the vertical value is applied to the top and bottom.

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: