Package-level declarations
Types
Link copied to clipboard
data class Box(val width: Constraint = Constraint.Wrap, val height: Constraint = Constraint.Wrap, val margin: Margin = Margin.Zero, val horizontalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val verticalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val children: BoxScope.() -> Unit)
Lays out widgets along the z-axis in a column.
Link copied to clipboard
data class Column(val width: Constraint = Constraint.Wrap, val height: Constraint = Constraint.Wrap, val margin: Margin = Margin.Zero, val overflow: Overflow = Overflow.Clip, val horizontalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val verticalAlignment: MainAxisAlignment = MainAxisAlignment.Start, val onScroll: (offset: Px) -> Unit? = null, val children: ColumnScope.() -> Unit)
Lays out widgets vertically in a column.
Link copied to clipboard
object ColumnScope
Link copied to clipboard
Set the alignment for an item along the horizontal axis.
Link copied to clipboard
interface RedwoodLayout
Link copied to clipboard
data class Row(val width: Constraint = Constraint.Wrap, val height: Constraint = Constraint.Wrap, val margin: Margin = Margin.Zero, val overflow: Overflow = Overflow.Clip, val horizontalAlignment: MainAxisAlignment = MainAxisAlignment.Start, val verticalAlignment: CrossAxisAlignment = CrossAxisAlignment.Start, val onScroll: (offset: Px) -> Unit? = null, val children: RowScope.() -> Unit)
Lays out widgets horizontally in a row.
Link copied to clipboard
Set the alignment for an item along the vertical axis.