toggle menu
redwood
0.16.0
common
switch theme
search in API
redwood-layout-compose
/
app.cash.redwood.layout.compose
Package-level
declarations
Types
Functions
Types
Box
Scope
Link copied to clipboard
interface
BoxScope
Column
Scope
Link copied to clipboard
interface
ColumnScope
Row
Scope
Link copied to clipboard
interface
RowScope
Functions
Box
Link copied to clipboard
@
Composable
fun
Box
(
width
:
Constraint
=
Constraint.Wrap
,
height
:
Constraint
=
Constraint.Wrap
,
margin
:
Margin
=
Margin.Zero
,
horizontalAlignment
:
CrossAxisAlignment
=
CrossAxisAlignment.Start
,
verticalAlignment
:
CrossAxisAlignment
=
CrossAxisAlignment.Start
,
modifier
:
Modifier
=
Modifier
,
children
:
@
Composable
BoxScope
.
(
)
->
Unit
)
Column
Link copied to clipboard
@
Composable
fun
Column
(
width
:
Constraint
=
Constraint.Wrap
,
height
:
Constraint
=
Constraint.Wrap
,
margin
:
Margin
=
Margin.Zero
,
overflow
:
Overflow
=
Overflow.Clip
,
horizontalAlignment
:
CrossAxisAlignment
=
CrossAxisAlignment.Start
,
verticalAlignment
:
MainAxisAlignment
=
MainAxisAlignment.Start
,
onScroll
:
(
offset
:
Px
)
->
Unit
?
=
null
,
modifier
:
Modifier
=
Modifier
,
children
:
@
Composable
ColumnScope
.
(
)
->
Unit
)
Row
Link copied to clipboard
@
Composable
fun
Row
(
width
:
Constraint
=
Constraint.Wrap
,
height
:
Constraint
=
Constraint.Wrap
,
margin
:
Margin
=
Margin.Zero
,
overflow
:
Overflow
=
Overflow.Clip
,
horizontalAlignment
:
MainAxisAlignment
=
MainAxisAlignment.Start
,
verticalAlignment
:
CrossAxisAlignment
=
CrossAxisAlignment.Start
,
onScroll
:
(
offset
:
Px
)
->
Unit
?
=
null
,
modifier
:
Modifier
=
Modifier
,
children
:
@
Composable
RowScope
.
(
)
->
Unit
)
Spacer
Link copied to clipboard
@
Composable
fun
Spacer
(
width
:
Dp
=
Dp(0.0)
,
height
:
Dp
=
Dp(0.0)
,
modifier
:
Modifier
=
Modifier
)