toggle menu
redwood
0.15.0
jvm
switch theme
search in API
redwood-layout-schema
/
app.cash.redwood.layout
/
Spacer
Spacer
data
class
Spacer
(
val
width
:
Dp
=
Dp(0.0)
,
val
height
:
Dp
=
Dp(0.0)
)
Adds empty space between other widgets.
Members
Constructors
Spacer
Link copied to clipboard
constructor
(
width
:
Dp
=
Dp(0.0)
,
height
:
Dp
=
Dp(0.0)
)
Properties
height
Link copied to clipboard
val
height
:
Dp
Sets the height of the spacer.
width
Link copied to clipboard
val
width
:
Dp
Sets the width of the spacer.