Spacer

data class Spacer(val width: Dp = Dp(0.0), val height: Dp = Dp(0.0))

Adds empty space between other widgets.

Constructors

Link copied to clipboard
constructor(width: Dp = Dp(0.0), height: Dp = Dp(0.0))

Properties

Link copied to clipboard
val height: Dp

Sets the height of the spacer.

Link copied to clipboard
val width: Dp

Sets the width of the spacer.